*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* =====================
   Navigation
   ===================== */

.hero-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 54px;
}

.hero-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  padding: 20px clamp(16px, 4vw, 48px) 0;
  flex-wrap: wrap;
}

.hero-nav a,
.hero-nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.hero-nav a:hover,
.hero-nav-links a:hover {
  color: #ffffff;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #ffffff;
  background: rgba(27, 47, 73, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  cursor: pointer;
}

.mobile-nav-toggle .material-icons {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition:
    color 0.2s,
    transform 0.18s;
}

.theme-toggle:hover {
  color: #4cc8f5;
  transform: translateY(-1px);
}

.theme-toggle__icon {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.hero-nav .theme-toggle {
  position: absolute;
  top: 16px;
  right: clamp(16px, 4vw, 48px);
}

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #1b2f49;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.sticky-nav.visible {
  transform: translateY(0);
}

.sticky-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px clamp(16px, 4vw, 48px);
  gap: 16px;
}

.sticky-nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.sticky-nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 40px);
  flex-wrap: wrap;
}

.sticky-nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.sticky-nav-links a:hover {
  color: #ffffff;
}

.sticky-nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sticky-contact-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.sticky-contact-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.sticky-contact-btn--cta {
  background: #4cc8f5;
  color: #1b2f49;
  border-color: #4cc8f5;
  font-weight: 700;
}

.sticky-contact-btn--cta:hover {
  background: #2db8e8;
  border-color: #2db8e8;
  color: #1b2f49;
}

@media (max-width: 768px) {
  .sticky-nav-contact {
    display: none;
  }
  .sticky-nav-links {
    gap: 14px;
  }
  .sticky-nav-links a {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .sticky-nav-inner {
    justify-content: space-between;
    gap: 8px;
  }

  .sticky-nav .theme-toggle {
    margin-left: auto;
  }

  .hero-nav {
    justify-content: flex-end;
    padding: 12px 14px 0;
    gap: 8px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .hero-nav .theme-toggle {
    position: static;
  }

  .hero-nav-links,
  .sticky-nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    z-index: 40;
    display: none;
    width: min(240px, calc(100vw - 28px));
    padding: 8px;
    background: rgba(27, 47, 73, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .hero-nav-links.open,
  .sticky-nav-links.open {
    display: flex;
  }

  .hero-nav-links {
    padding-top: 8px;
  }

  .sticky-nav-links {
    flex: initial;
    right: clamp(16px, 4vw, 48px);
  }

  .hero-nav-links a,
  .sticky-nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
    border-radius: 6px;
  }

  .hero-nav-links a:hover,
  .sticky-nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

}

.container-banner {
  width: 100%;
  /* display: flex;
  flex-direction: column; */
  background-image: url("../img/banner.webp");
  /* justify-content: space-evenly; */

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-banner .hero-nav {
  animation: hero-nav-drop 0.7s ease both;
}

.container-banner .logo-banner {
  animation: hero-logo-reveal 0.95s cubic-bezier(0.2, 0.85, 0.25, 1.2) 0.18s both;
}

.container-banner .wrap-button {
  animation: hero-action-rise 0.72s ease 0.42s both;
}

.container-banner .wrap-button:nth-child(2) {
  animation-delay: 0.54s;
}

.container-banner .banner-tagline {
  animation: hero-tagline-fade 0.8s ease 0.72s both;
}

@keyframes hero-nav-drop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-logo-reveal {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(22px) scale(0.92);
  }
  70% {
    filter: blur(0);
    transform: translateY(-4px) scale(1.02);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-action-rise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-tagline-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-banner {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
}

.hero-services {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 auto 20px;
  padding: 0 16px;
}

.banner-tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 40px) 40px;
  max-width: 720px;
  line-height: 1.6;
}

.logo {
  /* position: absolute; */
  width: min(500px, 90vw);
  /* left: 50%;
  top: 50%; */
  max-width: 100%;
  height: auto;

  justify-content: center;
}

.container-button-banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 20px;
}

.button,
.button-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #ededed;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 0;
  cursor: pointer;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.22s ease;
}

.button:hover,
.button-phone:hover {
  background-color: rgba(237, 237, 237, 0.14);
  border-color: #ededed;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.button:focus-visible,
.button-phone:focus-visible {
  outline: 2px solid #ededed;
  outline-offset: 3px;
}

.button:active,
.button-phone:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.button-phone {
  letter-spacing: 0.1rem;
  font-size: 18px;
  font-weight: 400;
}

.button {
  overflow-wrap: anywhere;
}

.wrap-button {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0 0 8px;
}

.banner-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.upload-icon .material-icons {
  font-size: 52px;
  color: #bbb;
}

.upload-browse-btn .material-icons,
.upload-camera-btn .material-icons {
  font-size: 18px;
}

.sticky-contact-btn .material-icons {
  font-size: 15px;
}

.footer-contact-link .material-icons {
  font-size: 17px;
  opacity: 0.8;
}

.carousel-button .material-icons {
  font-size: 24px;
  display: block;
}

.scroll-top-btn .material-icons {
  font-size: 20px;
  display: block;
}

.container-footer {
  width: 100%;
  background-image: url("../img/footer.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

  border: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 48px clamp(32px, 6vw, 96px);

  color: white;
}

.scroll-top-btn {
  position: absolute;
  top: 18px;
  right: clamp(20px, 4vw, 48px);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.scroll-top-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.text-footer {
  flex: 1 1 180px;
}

.footer-about {
  flex: 2 1 280px;
  max-width: 420px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 200px;
}

.footer-logo {
  width: min(200px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-brand-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-contact-link img {
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-about-desc {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.8;
  margin: 0 0 10px;
  padding: 0;
}

.footer-about-closing {
  font-style: italic;
  opacity: 0.65;
  margin-bottom: 0;
}

.footer-more-content {
  display: none;
}

.footer-more-content.open {
  display: block;
}

.footer-show-more {
  background: none;
  border: none;
  padding: 2px 0;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  transition: color 0.2s;
}

.footer-show-more:hover {
  color: #ffffff;
}

.footer-tagline {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin: 16px 0 0;
  padding: 20px clamp(20px, 5vw, 72px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.7;
}

.footer-meta {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  padding: 24px 20px 10px;
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.footer-meta p {
  margin: 0;
}

.text-footer > p {
  padding-left: 0;
  font-size: 16px;
}

.text-footer,
li {
  list-style: none;
  padding: 0;
  font-size: 18px;
}

.text-footer > ul {
  margin: 0;
  padding: 0;
}

.text-footer li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-size: 14px;
  color: #f9f9f9;
}

.text-footer li::before {
  content: "✓";
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .footer-brand {
    width: 100%;
    align-items: center;
  }

  .footer-brand-contact {
    width: min(100%, 360px);
  }

  .footer-contact-link {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    transition:
      background 0.2s,
      border-color 0.2s,
      transform 0.18s;
  }

  .footer-contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
  }

  .footer-contact-link .material-icons {
    font-size: 18px;
    opacity: 1;
  }
}

@media all and (max-width: 1064px) {
  .container-button-banner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    max-width: min(560px, 100%);
  }

  .wrap-button {
    padding: 0 0 12px;
  }

  .logo-banner {
    padding-bottom: 40px;
  }
}

@media all and (max-width: 652px) {
  .button,
  .button-phone {
    padding: 14px 16px;
    font-size: 16px;
    gap: 10px;
    letter-spacing: 0;
    font-weight: 400;
  }

  .wrap-button {
    padding: 0 0 10px;
  }

  .logo-banner {
    padding-bottom: 40px;
  }
}

@media all and (max-width: 375px) {
  .logo-banner {
    padding-bottom: 40px;
  }

  .wrap-button {
    padding: 0 0 8px;
  }

  .button,
  .button-phone {
    font-size: 14px;
    gap: 8px;
    padding: 12px 12px;
  }

  .container-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-footer {
    padding: 0px;
  }

  .footer-about {
    max-width: 100%;
  }

  .text-footer > p {
    font-size: 20px;
  }
}

/* Carousel Styles */
.container-gallery {
  width: 100%;
  padding: 40px 0;
  background-color: #f9f9f9;
}

/* Shared section titles */
.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 40px;
}

.section-heading__title {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  color: #1b2f49;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.section-heading__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 5px;
  background: #4cc8f5;
  border-radius: 3px 5px 4px 4px / 4px 3px 5px 3px;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 0 clamp(10px, 3vw, 28px);
  max-width: 100%;
}

.carousel-button {
  background-color: #333;
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.carousel-button:hover {
  background-color: #555;
}

.carousel-button:active {
  background-color: #222;
}

.carousel-container {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

.carousel-ticker {
  position: relative;
  z-index: 1;
  background: #1b2f49;
  overflow: hidden;
  margin-top: 10px;
  padding: 10px 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 6px;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 18s linear infinite;
}

.ticker-track span {
  flex-shrink: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 12px;
}

/* 4 slides visible */
.carousel-slide {
  flex: 0 0 calc(25% - 9px);
  min-width: 0;
  height: clamp(180px, 22vw, 300px);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* 3 slides */
@media (max-width: 960px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - 8px);
    height: clamp(160px, 26vw, 280px);
  }
}

/* 2 slides */
@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 6px);
    height: clamp(140px, 40vw, 240px);
  }
}

.carousel-indicators {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  padding: 0 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #333;
}

/* Services */
.container-services {
  width: 100%;
  padding: 48px 0 56px;
  background-color: #ffffff;
}

.services-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.container-services .section-heading {
  margin-bottom: 34px;
}

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

.service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 20px 18px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.2s ease;
}

.service-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #1b2f49;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.service-card h3 {
  margin: 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

/* Reviews */
.container-reviews {
  width: 100%;
  padding: 48px 0 56px;
  background-color: #ffffff;
}

.reviews-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(16px, 4vw, 48px);
}

.container-reviews .section-heading {
  margin-bottom: 36px;
}

.reviews-subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Horizontal scroll row + visible scrollbar (negative margin = edge-to-edge within section) */
.reviews-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  margin: 0 calc(-1 * clamp(16px, 4vw, 48px));
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
  scrollbar-color: #888 #e8e8e8;
}

.reviews-scroll:focus-visible {
  outline: 2px solid #333;
  outline-offset: 4px;
}

.reviews-scroll::-webkit-scrollbar {
  height: 12px;
}

.reviews-scroll::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 6px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 6px;
  border: 2px solid #e8e8e8;
}

.reviews-scroll::-webkit-scrollbar-thumb:hover {
  background: #444;
}

.reviews-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  min-height: 100%;
  padding-bottom: 4px;
}

.review-card {
  flex: 0 0 auto;
  width: min(85vw, 340px);
  max-width: 340px;
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.22s ease;
}

.review-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.review-stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: #333;
  line-height: 1;
  margin-bottom: 14px;
}

.review-quote {
  margin: 0 0 auto;
  padding: 0;
  flex-grow: 1;
}

.review-quote p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
}

.review-author {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e4e4e4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

a.review-name:hover {
  text-decoration: underline;
}

.review-meta {
  font-size: 13px;
  color: #777;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.reviews-cta__btn {
  flex: 0 1 auto;
  width: auto;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container-reviews {
    padding: 36px 0 44px;
  }

  .reviews-inner {
    padding: 0 clamp(14px, 4vw, 24px);
  }

  .reviews-scroll {
    margin: 0 calc(-1 * clamp(14px, 4vw, 24px));
    padding-left: clamp(14px, 4vw, 24px);
    padding-right: clamp(14px, 4vw, 24px);
  }

  .section-heading__title {
    font-size: clamp(20px, 4vw, 28px);
  }

  .reviews-subtitle {
    font-size: 15px;
  }

  .reviews-grid {
    gap: 18px;
  }

  .review-card {
    width: min(88vw, 320px);
  }

  .review-card:hover {
    transform: none;
  }

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

  .carousel-wrapper {
    gap: 10px;
    padding: 0 10px;
  }

  .carousel-button {
    padding: 10px 12px;
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .carousel-button {
    display: none;
  }
}

@media (max-width: 480px) {
  .container-gallery {
    padding: 25px 0;
  }

  .section-heading__title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .review-card {
    padding: 20px 18px 18px;
  }

  .container-services {
    padding: 36px 0 44px;
  }

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

  .service-card {
    min-height: 82px;
    padding: 16px;
  }

  .carousel-wrapper {
    gap: 8px;
    padding: 0 8px;
  }

  .carousel-button {
    padding: 8px 10px;
    font-size: 16px;
  }

  .carousel-indicators {
    gap: 8px;
    margin-top: 15px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* =====================
   About Us
   ===================== */

.container-about {
  width: 100%;
  padding: 48px 0 56px;
  background-color: #ffffff;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.about-card {
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 28px 26px 24px;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.about-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.about-tagline {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e4e4;
}

.about-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin: 0 0 14px;
}

.about-closing {
  font-style: italic;
  color: #777 !important;
  margin-bottom: 0 !important;
}

/* =====================
   Leave a Review Form
   ===================== */

.container-review-form {
  width: 100%;
  padding: 48px 0 56px;
  background-color: #f9f9f9;
  border-top: 1px solid #ececec;
}

.review-form-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.review-toggle-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 0 8px;
}

.review-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 12px 28px;
  background: #1b2f49;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.18s ease;
}

.review-toggle-btn:hover {
  background: #142338;
  transform: translateY(-1px);
}

.review-toggle-chevron {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.review-toggle-btn.open .review-toggle-chevron {
  transform: rotate(180deg);
}

.review-form-subtitle {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin: 0 0 32px;
  line-height: 1.65;
}

.review-form {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.form-required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fff;
}

.form-input:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
  color: #bbb;
}

.form-textarea {
  resize: vertical;
  line-height: 1.55;
  min-height: 110px;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 4px;
}

.star {
  background: none;
  border: none;
  font-size: 32px;
  color: #ddd;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition:
    color 0.12s,
    transform 0.12s;
}

.star:hover,
.star.active {
  color: #f4b500;
}

.star:hover {
  transform: scale(1.15);
}

.btn-submit-review {
  width: 100%;
  padding: 14px 24px;
  background: #1b2f49;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.18s ease;
  margin-top: 4px;
}

.btn-submit-review:hover:not(:disabled) {
  background: #142338;
  transform: translateY(-1px);
}

.btn-submit-review:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.review-form-status {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  min-height: 1.5em;
}

.status-success {
  color: #27ae60;
}

.status-error {
  color: #c0392b;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =====================
   Contact
   ===================== */

.container-contact {
  width: 100%;
  padding: 48px 0 56px;
  background-color: #ffffff;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.contact-card {
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 28px 26px 32px;
  text-align: center;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.contact-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.contact-tagline {
  font-size: 17px;
  color: #444;
  margin: 0 0 28px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  min-width: 280px;
  background: #1b2f49;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease;
  box-shadow: 0 4px 14px rgba(27, 47, 73, 0.18);
}

.contact-link:hover {
  background: #142338;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 47, 73, 0.26);
}

.contact-link .material-icons {
  font-size: 20px;
}

@media (max-width: 480px) {
  .contact-link {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
}

.contact-optional {
  font-weight: 400;
  color: #999;
  font-size: 13px;
}

.contact-form {
  margin-bottom: 28px;
  text-align: left;
}

.btn-contact-submit {
  width: 100%;
  padding: 14px 24px;
  background: #1b2f49;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.18s ease;
  margin-top: 4px;
}

.btn-contact-submit:hover:not(:disabled) {
  background: #142338;
  transform: translateY(-1px);
}

.btn-contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-form-status {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  min-height: 1.5em;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e4e4e4;
  font-size: 14px;
  color: #888;
}

.contact-direct > span:first-child {
  flex-basis: 100%;
  text-align: center;
}

.contact-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1b2f49;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-direct-link:hover {
  color: #0d1823;
  text-decoration: underline;
}

.contact-direct-link .material-icons {
  font-size: 16px;
}

.contact-direct-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  color: #999;
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s;
  flex-shrink: 0;
}

.copy-btn:hover {
  color: #1b2f49;
  border-color: #1b2f49;
  background: #f0f4f8;
}

.copy-btn--copied {
  color: #27ae60;
  border-color: #27ae60;
  background: #f0faf4;
}

.copy-btn .material-icons {
  font-size: 14px;
  line-height: 1;
}

/* =====================
   AI Color Advisor
   ===================== */

.container-color-advisor {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(560px, 62vw, 760px);
  padding: 88px 0 96px;
  background:
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url("../assets/palette.webp") center / cover no-repeat;
  border-top: none;
}

.color-advisor-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.color-advisor-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px;
  line-height: 1.6;
}

.color-advisor-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.color-advisor-tool {
  opacity: 0;
  transform: translateY(18px);
}

.color-advisor-tool.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
}

.color-advisor-help-text {
  max-width: 620px;
  margin: 0 auto 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.color-advisor-intro {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: none;
}

.color-advisor-intro::after {
  content: none;
}

.color-advisor-intro__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
}

.color-advisor-intro__title {
  margin: 0;
  color: #44474b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.color-advisor-intro__rule {
  display: block;
  width: 72px;
  height: 4px;
  margin: 28px 0 26px;
  background: #cf785f;
}

.color-advisor-intro p {
  max-width: 520px;
  margin: 0 0 14px;
  color: #56595d;
  font-size: 16px;
  line-height: 1.6;
}

.color-advisor-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 190px;
  margin-top: 20px;
  padding: 15px 26px;
  border: none;
  border-radius: 8px;
  background: #cf785f;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(149, 78, 62, 0.28);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.18s;
}

.color-advisor-start-btn:hover {
  background: #bf684f;
  box-shadow: 0 12px 28px rgba(149, 78, 62, 0.34);
  transform: translateY(-1px);
}

.color-advisor-start-btn .material-icons {
  font-size: 24px;
}

/* Upload area */
.upload-area {
  border: 2px dashed #ccc;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.upload-area:hover,
.upload-area:focus-visible {
  border-color: #888;
  background: #f8f8f8;
  outline: none;
}

.upload-area.drag-over {
  border-color: #333;
  background: #f3f3f3;
}

.upload-area.has-image {
  border-style: solid;
  border-color: #ddd;
  cursor: default;
  min-height: 0;
}

.upload-area.has-image:hover {
  border-color: #ddd;
  background: #fff;
}

.upload-prompt {
  text-align: center;
  padding: 32px 24px;
  user-select: none;
  pointer-events: none;
}

.upload-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 14px;
}

.upload-main-text {
  margin: 0 0 6px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.upload-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  pointer-events: auto;
}

.upload-or {
  font-size: 13px;
  color: #bbb;
}

.upload-browse-btn,
.upload-camera-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  pointer-events: auto;
}

.upload-browse-btn {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}

.upload-browse-btn:hover {
  background: #f5f5f5;
  border-color: #999;
}

.upload-camera-btn {
  background: #222;
  border: 1px solid #222;
  color: #fff;
}

.upload-camera-btn:hover {
  background: #000;
  border-color: #000;
}

.upload-hint {
  margin: 0;
  font-size: 13px;
  color: #aaa;
}

.upload-preview-wrap {
  position: relative;
  width: 100%;
}

.upload-preview {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.upload-change-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.upload-change-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* Room type selector */
.room-type-selector {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.room-type-label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.room-type-option {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: #444;
  cursor: pointer;
  user-select: none;
}

.room-type-option input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #222;
}

/* Custom request */
.custom-request-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-request-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.custom-request-optional {
  font-weight: 400;
  color: #999;
  font-size: 13px;
}

.custom-request-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fff;
}

.custom-request-input::placeholder {
  color: #bbb;
}

.custom-request-input:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Actions row */
.color-advisor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.btn-analyze {
  flex: 1;
  padding: 14px 24px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.18s ease,
    box-shadow 0.25s ease;
}

.btn-analyze:hover:not(:disabled) {
  background: #000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.btn-analyze:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.btn-analyze:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Loading state */
.color-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 0;
  color: #666;
  font-size: 15px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #333;
  border-radius: 50%;
  animation: color-advisor-spin 0.75s linear infinite;
}

@keyframes color-advisor-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Results */
.color-results {
  margin-top: 24px;
}

.color-analysis {
  background: #f5f5f5;
  border-left: 3px solid #333;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.color-analysis p {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.65;
}

.color-swatches {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.color-swatch-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px;
  transition:
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.color-swatch-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.swatch-color {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.swatch-info {
  flex: 1;
  min-width: 0;
}

.swatch-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.swatch-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.swatch-hex {
  font-size: 12px;
  color: #888;
  font-family: monospace;
  letter-spacing: 0.02em;
}

.swatch-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #555;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.swatch-desc {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.55;
}

.color-error {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #fff5f5;
  border-left: 3px solid #e74c3c;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #c0392b;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 600px) {
  .color-advisor-card {
    padding: 20px 16px;
  }

  .color-advisor-intro__content {
    width: 100%;
    padding: 0;
  }

  .color-advisor-intro__title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .color-advisor-intro p {
    max-width: 100%;
    font-size: 16px;
  }

  .color-advisor-start-btn {
    min-width: 164px;
    padding: 13px 22px;
    font-size: 16px;
  }

  .swatch-color {
    width: 52px;
    height: 52px;
  }

  .upload-preview {
    max-height: 260px;
  }

  .room-type-selector {
    gap: 14px;
  }

  .settings-dialog {
    padding: 22px 20px 18px;
  }
}

/* =====================
   Dark Mode
   ===================== */

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"],
  html[data-theme="dark"] body {
    background: #0d141c;
    color: #e8eef5;
    color-scheme: dark;
}

html[data-theme="dark"] .container-gallery,
  html[data-theme="dark"] .container-services,
  html[data-theme="dark"] .container-reviews,
  html[data-theme="dark"] .container-about,
  html[data-theme="dark"] .container-review-form,
  html[data-theme="dark"] .container-contact {
    background-color: #0f1822;
}

html[data-theme="dark"] .contact-card {
  background: #141f2a;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

html[data-theme="dark"] .contact-card:hover {
  border-color: rgba(76, 200, 245, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .contact-tagline {
  color: #c3ced9;
}

html[data-theme="dark"] .contact-link {
  background: #4cc8f5;
  color: #0d1823;
  box-shadow: none;
}

html[data-theme="dark"] .contact-link:hover {
  background: #2db8e8;
  color: #0d1823;
}

html[data-theme="dark"] .contact-optional {
  color: #6f7f8f;
}

html[data-theme="dark"] .btn-contact-submit {
  background: #4cc8f5;
  color: #0d1823;
}

html[data-theme="dark"] .btn-contact-submit:hover:not(:disabled) {
  background: #2db8e8;
}

html[data-theme="dark"] .contact-direct {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #5d7186;
}

html[data-theme="dark"] .contact-direct-link {
  color: #4cc8f5;
}

html[data-theme="dark"] .contact-direct-link:hover {
  color: #2db8e8;
}

html[data-theme="dark"] .copy-btn {
  border-color: rgba(255, 255, 255, 0.18);
  color: #5d7186;
}

html[data-theme="dark"] .copy-btn:hover {
  color: #4cc8f5;
  border-color: #4cc8f5;
  background: rgba(76, 200, 245, 0.08);
}

html[data-theme="dark"] .copy-btn--copied {
  color: #4cc8f5;
  border-color: #4cc8f5;
  background: rgba(76, 200, 245, 0.1);
}

html[data-theme="dark"] .container-gallery,
  html[data-theme="dark"] .container-reviews,
  html[data-theme="dark"] .container-review-form {
    background-color: #0b121a;
}

html[data-theme="dark"] .section-heading__title {
  color: #f4f8fb;
}

html[data-theme="dark"] .section-heading__title::after {
  background: #4cc8f5;
}

html[data-theme="dark"] .carousel-button {
    background-color: #1b2f49;
    color: #ffffff;
}

html[data-theme="dark"] .carousel-button:hover {
    background-color: #263f60;
}

html[data-theme="dark"] .indicator {
    background-color: #526172;
}

html[data-theme="dark"] .indicator.active {
    background-color: #4cc8f5;
}

html[data-theme="dark"] .service-card,
  html[data-theme="dark"] .review-card,
  html[data-theme="dark"] .about-card,
  html[data-theme="dark"] .review-form,
  html[data-theme="dark"] .color-advisor-card,
  html[data-theme="dark"] .color-swatch-card {
    background: #141f2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

html[data-theme="dark"] .service-card:hover,
  html[data-theme="dark"] .review-card:hover,
  html[data-theme="dark"] .about-card:hover,
  html[data-theme="dark"] .color-swatch-card:hover {
    border-color: rgba(76, 200, 245, 0.42);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .service-card h3,
  html[data-theme="dark"] .about-tagline,
  html[data-theme="dark"] .review-stars,
  html[data-theme="dark"] .review-name,
  html[data-theme="dark"] .form-label,
  html[data-theme="dark"] .upload-main-text,
  html[data-theme="dark"] .room-type-label,
  html[data-theme="dark"] .room-type-option,
  html[data-theme="dark"] .custom-request-label,
  html[data-theme="dark"] .swatch-name {
    color: #f4f8fb;
}

html[data-theme="dark"] .reviews-subtitle,
  html[data-theme="dark"] .review-quote p,
  html[data-theme="dark"] .about-content p,
  html[data-theme="dark"] .review-form-subtitle,
  html[data-theme="dark"] .color-advisor-help-text,
  html[data-theme="dark"] .color-analysis p,
  html[data-theme="dark"] .swatch-desc,
  html[data-theme="dark"] .color-loading {
    color: #c3ced9;
}

html[data-theme="dark"] .review-meta,
  html[data-theme="dark"] .about-closing,
  html[data-theme="dark"] .custom-request-optional,
  html[data-theme="dark"] .swatch-hex,
  html[data-theme="dark"] .upload-hint,
  html[data-theme="dark"] .upload-or {
    color: #94a3b3 !important;
}

html[data-theme="dark"] .review-author,
  html[data-theme="dark"] .about-tagline {
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .reviews-scroll {
    scrollbar-color: #5d7186 #17212c;
}

html[data-theme="dark"] .reviews-scroll:focus-visible {
    outline-color: #4cc8f5;
}

html[data-theme="dark"] .reviews-scroll::-webkit-scrollbar-track {
    background: #17212c;
}

html[data-theme="dark"] .reviews-scroll::-webkit-scrollbar-thumb {
    background: #5d7186;
    border-color: #17212c;
}

html[data-theme="dark"] .reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: #7890a8;
}

html[data-theme="dark"] .form-input,
  html[data-theme="dark"] .custom-request-input,
  html[data-theme="dark"] .upload-area {
    background: #0e1721;
    border-color: rgba(255, 255, 255, 0.16);
    color: #e8eef5;
}

html[data-theme="dark"] .form-input:focus,
  html[data-theme="dark"] .custom-request-input:focus,
  html[data-theme="dark"] .upload-area:hover,
  html[data-theme="dark"] .upload-area:focus-visible {
    border-color: #4cc8f5;
    box-shadow: 0 0 0 3px rgba(76, 200, 245, 0.14);
}

html[data-theme="dark"] .form-input::placeholder,
  html[data-theme="dark"] .custom-request-input::placeholder {
    color: #6f7f8f;
}

html[data-theme="dark"] .upload-area:hover,
  html[data-theme="dark"] .upload-area.drag-over {
    background: #121f2c;
}

html[data-theme="dark"] .upload-area.has-image,
  html[data-theme="dark"] .upload-area.has-image:hover {
    background: #0e1721;
    border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .upload-browse-btn {
    background: #172434;
    border-color: rgba(255, 255, 255, 0.18);
    color: #f4f8fb;
}

html[data-theme="dark"] .upload-browse-btn:hover {
    background: #213247;
    border-color: rgba(76, 200, 245, 0.52);
}

html[data-theme="dark"] .upload-camera-btn,
  html[data-theme="dark"] .btn-analyze,
  html[data-theme="dark"] .btn-submit-review {
    background: #4cc8f5;
    border-color: #4cc8f5;
    color: #0d1823;
}

html[data-theme="dark"] .upload-camera-btn:hover,
  html[data-theme="dark"] .btn-analyze:hover:not(:disabled),
  html[data-theme="dark"] .btn-submit-review:hover:not(:disabled) {
    background: #2db8e8;
    border-color: #2db8e8;
    color: #0d1823;
}

html[data-theme="dark"] .room-type-option input[type="radio"] {
    accent-color: #4cc8f5;
}

html[data-theme="dark"] .loading-spinner {
    border-color: #263748;
    border-top-color: #4cc8f5;
}

html[data-theme="dark"] .color-analysis {
    background: #101b27;
    border-left-color: #4cc8f5;
}

html[data-theme="dark"] .swatch-color {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .swatch-role {
    background: #1b2f49;
    color: #ffffff;
}

html[data-theme="dark"] .color-error {
    background: rgba(231, 76, 60, 0.12);
    color: #ffb4aa;
}

html[data-theme="dark"] .color-advisor-intro p {
    color: #c3ced9;
}

html[data-theme="dark"] .color-advisor-intro__title {
    color: #e7edf5;
}

/* =====================
   Lightbox
   ===================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightbox-fade 0.2s ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
  user-select: none;
  display: block;
}

.lightbox-img.loaded {
  opacity: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.18s;
  z-index: 2001;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) translateX(-2px);
}

.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) translateX(2px);
}

.lightbox-close .material-icons,
.lightbox-prev .material-icons,
.lightbox-next .material-icons {
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 600px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
  }
}

/* =====================
   Section Reveal
   ===================== */

.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .container-banner .hero-nav,
  .container-banner .logo-banner,
  .container-banner .wrap-button,
  .container-banner .banner-tagline {
    animation: none;
  }

  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
