:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f3f7ff;
  --teal: #2563eb;
  --teal-dark: #1e3a8a;
  --mint: #dbeafe;
  --coral: #0ea5e9;
  --sky: #38bdf8;
  --shadow: 0 24px 70px rgba(30, 58, 138, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), transparent 30rem),
    radial-gradient(circle at top right, rgba(186, 230, 253, 0.45), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f3f7ff 100%);
}

body[data-page="hizmetlerimiz"] main,
body[data-page="galerimiz"] main {
  position: relative;
  overflow: visible;
}

.summary-gallery-link {
  width: fit-content;
  margin-top: 8px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: auto;
  height: 88px;
  display: block;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22);
}

.brand-text {
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--teal-dark);
  font-weight: 900;
  white-space: nowrap;
}

.header-phone {
  min-height: 42px;
  padding: 8px 14px 8px 10px;
  color: white;
  background: linear-gradient(135deg, var(--teal), #38bdf8);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.header-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.26);
}

.phone-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: phonePulse 1.8s ease-in-out infinite;
}

.phone-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: 0;
  animation: phoneRing 1.8s ease-out infinite;
}

.phone-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-phone {
  color: var(--teal-dark);
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: grid;
  gap: 12px;
}

.floating-contact-button {
  position: relative;
  --floating-glow: rgba(37, 99, 235, 0.34);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  isolation: isolate;
  animation: floatingButtonPulse 2.2s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.floating-contact-button::before,
.floating-contact-button::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--floating-glow), 0 0 26px var(--floating-glow);
  opacity: 0;
  animation: floatingButtonRing 2.2s ease-out infinite;
}

.floating-contact-button::after {
  animation-delay: 0.7s;
}

.floating-contact-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.3);
}

.floating-contact-button svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp {
  --floating-glow: rgba(37, 211, 102, 0.46);
  background: #25d366;
}

.floating-whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.floating-call {
  --floating-glow: rgba(37, 99, 235, 0.46);
  background: var(--teal);
  animation-delay: 0.25s;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.service-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-service-icon {
  position: absolute;
  width: clamp(170px, 18vw, 285px);
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--teal-dark);
  opacity: 0.075;
  transform: rotate(var(--rotate, -8deg));
}

.bg-service-icon svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bg-service-icon span {
  color: currentColor;
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  font-weight: 900;
  text-align: center;
}

.bg-left {
  left: clamp(-28px, -2vw, -10px);
}

.bg-right {
  right: clamp(-28px, -2vw, -10px);
  --rotate: 8deg;
}

.bg-top {
  top: 70px;
}

.bg-mid {
  top: 560px;
}

.bg-low {
  bottom: 130px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 58px;
  padding-top: 54px;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.home-hero-slider,
.home-hero-slide,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.75s ease,
    transform 1.2s ease;
}

.home-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.home-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 20, 45, 0.82) 0%, rgba(8, 20, 45, 0.58) 42%, rgba(8, 20, 45, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 20, 45, 0.28), rgba(8, 20, 45, 0.32));
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 82px;
  box-sizing: border-box;
}

.home-hero-content h1 {
  max-width: 760px;
  color: white;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.06;
}

.home-hero-content p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.home-hero-content .eyebrow {
  color: #bfdbfe;
}

.home-hero-content.is-changing [data-hero-eyebrow],
.home-hero-content.is-changing [data-hero-title],
.home-hero-content.is-changing [data-hero-copy],
.home-hero-content.is-changing [data-hero-link] {
  animation: heroContentSwap 0.48s ease both;
}

.home-hero-content.is-changing [data-hero-title] {
  animation-delay: 0.04s;
}

.home-hero-content.is-changing [data-hero-copy] {
  animation-delay: 0.08s;
}

.home-hero-content.is-changing [data-hero-link] {
  animation-delay: 0.12s;
}

.home-hero-content.is-changing .hero-appointment-link {
  animation:
    appointmentReveal 0.55s 0.1s ease both,
    appointmentPulse 2.6s 0.9s ease-in-out infinite;
}

@keyframes heroContentSwap {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes appointmentReveal {
  from {
    opacity: 0;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes appointmentPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(96, 165, 250, 0),
      0 12px 28px rgba(37, 99, 235, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 9px rgba(147, 197, 253, 0.2),
      0 16px 34px rgba(37, 99, 235, 0.34);
  }
}

.home-hero-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.home-hero-button:hover {
  background: rgba(37, 99, 235, 0.82);
  transform: translateY(-50%) scale(1.06);
}

.home-hero-button.prev {
  left: 24px;
}

.home-hero-button.next {
  right: 24px;
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.home-hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.home-hero-dots button.active {
  width: 26px;
  background: white;
  border-radius: 999px;
}

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
}

body[data-page="hizmetlerimiz"] .page-hero,
body[data-page="galerimiz"] .page-hero {
  min-height: 250px;
  padding-top: 52px;
  padding-bottom: 52px;
}

body[data-page="hizmetlerimiz"] .page-hero.is-hidden,
body[data-page="galerimiz"] .page-hero.is-hidden {
  display: none;
}

.page-hero > div,
.page-hero h1,
.page-hero .hero-copy {
  width: 100%;
  max-width: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.08;
}

.page-hero .hero-copy {
  font-size: 1rem;
}

.page-split {
  min-height: calc(100vh - 76px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.5vw, 5.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-split h1,
.contact-panel h1 {
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.06;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 600px;
  font-size: 1.08rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

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

.btn-primary {
  color: white;
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--teal-dark);
  background: white;
  border-color: var(--line);
}

.hero-visual {
  position: relative;
}

.image-placeholder {
  width: 100%;
  min-height: 420px;
  display: block;
  background: #000;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  overflow: hidden;
}

.image-placeholder.large {
  min-height: min(68vh, 650px);
  animation: floatImage 6s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: 148px;
  padding: 18px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(14, 165, 233, 0.25);
  animation: pulseBadge 2.8s ease-in-out infinite;
}

.floating-badge strong,
.floating-badge span {
  display: block;
}

.floating-badge strong {
  font-size: 1.35rem;
}

.floating-badge span {
  margin-top: 3px;
  font-size: 0.85rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 280px;
  display: block;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow);
}

.home-services-heading {
  padding-bottom: 48px;
}

.home-services-heading .section-heading {
  max-width: 840px;
  margin-bottom: 0;
}

.home-services-heading .section-heading > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-services-showcase {
  position: relative;
  z-index: 1;
}

.home-service-band {
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}

.home-service-band:nth-child(even) {
  background: rgba(239, 246, 255, 0.62);
}

.home-service-band:last-child {
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.home-service-row {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 64px;
}

.home-service-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.13);
}

.home-service-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-service-band:hover .home-service-visual img {
  transform: scale(1.035);
}

.home-service-number {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: #0b3f82;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 45, 98, 0.24);
  font-size: 0.82rem;
  font-weight: 950;
}

.home-service-band:nth-child(even) .home-service-number {
  background: #e2ad24;
}

.home-service-copy {
  max-width: 560px;
}

.home-service-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  line-height: 1.08;
}

.home-service-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.home-service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.home-service-points li {
  position: relative;
  min-width: 0;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
}

.home-service-points li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #2563eb;
  font-weight: 950;
}

.home-service-copy .btn {
  width: fit-content;
}

.home-service-band.is-reverse .home-service-visual {
  order: 2;
}

.home-service-band.is-reverse .home-service-copy {
  order: 1;
  justify-self: end;
}

.service-category-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 0;
  padding-bottom: 38px;
}

.service-category-picker.is-hidden {
  display: none;
}

.interactive-catalog {
  padding-top: 0;
  padding-bottom: 38px;
}

.interactive-catalog.is-hidden {
  display: none;
}

.catalog-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}

.catalog-service-card {
  position: relative;
  flex: 0 1 calc((100% - 30px) / 4);
  min-width: 0;
  min-height: 470px;
  display: grid;
  grid-template-rows: 220px auto 1fr auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(7, 26, 54, 0.09);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.catalog-card-media {
  display: block;
  overflow: hidden;
  background: #eaf1f8;
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.catalog-service-card:nth-child(2) .catalog-card-media img {
  object-position: 38% center;
}

.catalog-service-card:nth-child(3) .catalog-card-media img {
  object-position: 68% center;
}

.catalog-card-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: white;
  background: #0c4387;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(7, 26, 54, 0.24);
  font-size: 0.8rem;
  font-weight: 950;
  transform: translateX(-50%);
}

.catalog-service-card:nth-child(even) .catalog-card-badge {
  background: #e2ad24;
}

.catalog-service-card > strong {
  display: block;
  padding: 13px 8px;
  color: white;
  background: #082d62;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.catalog-card-copy {
  display: block;
  padding: 15px 13px 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

.catalog-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 12px 14px;
  padding-top: 12px;
  color: var(--teal-dark);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 900;
}

.catalog-service-card:hover,
.catalog-service-card:focus-visible,
.catalog-service-card.active {
  border-color: rgba(226, 173, 36, 0.92);
  box-shadow: 0 24px 55px rgba(7, 26, 54, 0.18);
  transform: translateY(-8px);
}

.catalog-service-card:hover .catalog-card-media img,
.catalog-service-card:focus-visible .catalog-card-media img,
.catalog-service-card.active .catalog-card-media img {
  transform: scale(1.06);
}

.catalog-service-card:focus-visible {
  outline: 3px solid rgba(226, 173, 36, 0.42);
  outline-offset: 3px;
}

.catalog-assurances {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding: 20px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(7, 26, 54, 0.07);
}

.catalog-assurances > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  color: #082d62;
  text-align: left;
}

.catalog-assurances b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  background: #0c4387;
  border-radius: 50%;
  font-size: 1rem;
}

.catalog-assurances strong {
  font-size: 0.78rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.category-back-wrap {
  width: min(1180px, calc(100% - 32px));
  display: none;
  margin: 20px auto 28px;
}

.category-back-wrap.visible {
  display: block;
}

.category-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px 0 12px;
  color: var(--teal-dark);
  background: rgba(239, 246, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.1);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.category-back:hover {
  color: white;
  background: linear-gradient(135deg, var(--teal), #38bdf8);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.2);
  transform: translateX(-3px);
}

.category-back span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.category-back svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-category-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px;
  color: white;
  background: #071a36;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  animation: categoryFloat 5.4s ease-in-out infinite;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-category-card:nth-child(2) {
  animation-delay: 0.35s;
}

.service-category-card:nth-child(3) {
  animation-delay: 0.7s;
}

.service-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 26, 54, 0.12), rgba(7, 26, 54, 0.9)),
    radial-gradient(circle at 22% 18%, rgba(56, 189, 248, 0.34), transparent 34%);
}

.service-category-card::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  z-index: 2;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-45%);
  animation: categoryShine 4.6s ease-in-out infinite;
}

.service-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.45s ease;
}

.service-category-card strong,
.service-category-card small,
.service-category-card .category-icon {
  position: relative;
  z-index: 3;
}

.service-category-card strong {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.service-category-card small {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(37, 99, 235, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.category-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-category-card:hover,
.service-category-card.active {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.72);
  box-shadow: 0 26px 64px rgba(37, 99, 235, 0.22);
}

.service-category-card:hover img,
.service-category-card.active img {
  transform: scale(1.1);
}

.category-panel {
  display: none;
}

.category-panel.active {
  display: grid;
}

.service-summary-panel {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
  padding-top: 0;
}

.summary-visual .image-placeholder {
  width: 100%;
  min-height: 520px;
}

.summary-content {
  padding: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.summary-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.9rem);
  line-height: 1.08;
}

.summary-content p {
  color: var(--muted);
  line-height: 1.8;
}

.summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.summary-list span {
  padding: 13px 14px;
  color: var(--teal-dark);
  font-weight: 800;
  background: rgba(239, 246, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
}

.service-browser {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding-top: 0;
}

.category-panels > .category-panel {
  display: none;
}

.category-panels > .category-panel.active {
  display: grid;
}

.category-panels > .washing-detail-panel.active {
  display: block;
}

.washing-detail-panel {
  padding-top: 0;
}

.washing-detail-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 30px;
}

.washing-detail-heading h2 {
  width: 100%;
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.35vw, 2.4rem);
  line-height: 1.14;
}

.washing-detail-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.washing-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.washing-service-item {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.washing-service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 24px 54px rgba(30, 58, 138, 0.13);
}

.washing-service-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 22px) / 2);
  justify-self: center;
}

.washing-service-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eaf1f8;
}

.washing-service-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.washing-service-item:hover .washing-service-media img {
  transform: scale(1.035);
}

.washing-service-icon {
  position: absolute;
  left: 22px;
  bottom: -26px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.16);
}

.washing-service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.washing-service-copy {
  padding: 42px 24px 24px;
}

.washing-service-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.washing-service-copy p {
  min-height: 52px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.washing-service-copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.washing-service-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 750;
}

.washing-service-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 900;
}

.washing-gallery-action {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.washing-gallery-action .category-back {
  justify-content: center;
}

.service-tabs {
  position: sticky;
  top: 92px;
  z-index: 10;
  align-self: start;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 112px);
  margin-bottom: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.service-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px 0 10px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.tab-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal);
  background: transparent;
  transition: color 0.25s ease;
}

.tab-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-tab:hover,
.service-tab.active {
  color: white;
  background: linear-gradient(135deg, var(--teal), #38bdf8);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.service-tab:hover .tab-icon,
.service-tab.active .tab-icon {
  color: white;
}

.service-panels {
  display: grid;
  min-width: 0;
}

.service-panel {
  display: none;
  gap: 26px;
  align-items: start;
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.service-panel.active {
  display: grid;
}

.panel-copy {
  max-width: 820px;
}

.gallery-grid {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-grid .image-placeholder {
  width: 100%;
  height: 560px;
  min-height: 560px;
  display: none;
  border-radius: 0;
  box-shadow: none;
}

.gallery-grid .image-placeholder.active {
  display: block;
  animation: carouselFade 0.45s ease;
}

.portrait-gallery,
.portrait-gallery .image-placeholder {
  width: min(100%, 520px);
  height: 660px;
  min-height: 660px;
  margin-inline: auto;
}

.portrait-gallery .image-placeholder {
  object-fit: cover;
  object-position: center;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(37, 99, 235, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.carousel-button:hover {
  background: var(--teal-dark);
  transform: translateY(-50%) scale(1.06);
}

.carousel-button.prev {
  left: 16px;
}

.carousel-button.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 7px 9px;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot.active {
  background: white;
}

.carousel-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  min-width: 76px;
  padding: 8px 12px;
  color: white;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.before-after-section {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 26px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.08);
}

.before-after-copy {
  max-width: 760px;
}

.before-after-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
}

.before-after-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.before-after-copy p:last-child {
  margin-bottom: 0;
}

.panel-compare {
  margin-top: 8px;
  padding: 24px;
  box-shadow: none;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.before-after {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #0f172a;
  border-radius: 8px;
  isolation: isolate;
}

.compare-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.compare-before {
  filter: none;
}

.compare-after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--position));
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 3;
  width: 3px;
  background: white;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35), 0 0 24px rgba(15, 23, 42, 0.26);
  transform: translateX(-50%);
}

.compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: white;
  border: 3px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  transform: translate(-50%, -50%);
}

.compare-divider span::before,
.compare-divider span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--teal);
  border-left: 3px solid var(--teal);
}

.compare-divider span::before {
  left: 14px;
  transform: rotate(-45deg);
}

.compare-divider span::after {
  right: 14px;
  transform: rotate(135deg);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 8px 12px;
  color: white;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.compare-label-before {
  left: 16px;
}

.compare-label-after {
  right: 16px;
}

.service-assurance {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.72), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
}

.assurance-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

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

.assurance-card {
  min-height: 150px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.assurance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 42px rgba(30, 58, 138, 0.11);
}

.assurance-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--teal);
  background: rgba(219, 234, 254, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
}

.assurance-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assurance-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1rem;
}

.assurance-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 54px;
}

.split-content {
  max-width: 610px;
}

.satisfaction-content {
  max-width: 720px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.trust-list div {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.06);
}

.trust-list span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.trust-list strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.service-detail-section {
  padding-top: 54px;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.service-detail-list span {
  padding: 14px 16px;
  color: var(--teal-dark);
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.about-visual {
  position: relative;
}

.about-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  color: white;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.about-note strong,
.about-note span {
  display: block;
}

.about-note strong {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.about-note span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.about-intro-copy {
  max-width: 660px;
}

.about-intro-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
}

.about-profile-band {
  position: relative;
  z-index: 1;
  background: rgba(239, 246, 255, 0.72);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.about-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 72px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.about-profile-layout .section-heading {
  margin-bottom: 0;
}

.about-profile-text {
  max-width: 680px;
}

.about-profile-text p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.about-profile-text p:last-child {
  margin-bottom: 0;
}

.about-services .section-heading {
  max-width: 780px;
}

.about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-service-item {
  min-height: 132px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.about-service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 20px 42px rgba(30, 58, 138, 0.12);
}

.about-service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: rgba(239, 246, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
}

.about-service-item:nth-child(even) .about-service-icon {
  color: #9a6700;
  background: rgba(255, 248, 225, 0.96);
  border-color: rgba(226, 173, 36, 0.22);
}

.about-service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-service-item h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.about-mission-band {
  position: relative;
  z-index: 1;
  color: white;
  background: #082d62;
}

.about-mission-content {
  max-width: 1180px;
  padding-top: 78px;
  padding-bottom: 78px;
}

.about-mission-content .eyebrow {
  color: #f5c34b;
}

.about-mission-content h2 {
  max-width: 760px;
  color: white;
}

.about-mission-content > p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.78;
}

.about-signature {
  max-width: 820px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-signature strong {
  font-size: 1.3rem;
}

.about-signature span {
  color: #f5c34b;
  font-weight: 800;
}

.about-story {
  padding-top: 34px;
}

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

.story-card {
  min-height: 260px;
  padding: 26px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow);
}

.story-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: var(--teal);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.value-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 34px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.78), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.08);
}

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

.value-list div {
  min-height: 132px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
}

.value-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
}

.value-list span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stats div {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.55rem;
}

.stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.process {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

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

.timeline-item {
  position: relative;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-item span {
  width: 14px;
  height: 14px;
  display: block;
  margin-bottom: 24px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.13);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  padding: 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel p,
.contact-panel .eyebrow {
  color: var(--muted);
}

.contact-panel .eyebrow {
  color: var(--teal);
}

.contact-content {
  min-width: 0;
}

.contact-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.contact-page .contact-panel h1 {
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  line-height: 1.12;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: block;
  min-height: 98px;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.map-frame {
  min-height: 490px;
  overflow: hidden;
  background: #eef4ff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.1);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 490px;
  display: block;
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulseBadge {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes phonePulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  20% {
    transform: rotate(-10deg) scale(1.04);
  }

  40% {
    transform: rotate(10deg) scale(1.04);
  }

  60% {
    transform: rotate(-6deg) scale(1.02);
  }
}

@keyframes phoneRing {
  0% {
    opacity: 0.55;
    transform: scale(0.72);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes floatingButtonPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes floatingButtonRing {
  0% {
    opacity: 0.48;
    transform: scale(0.78);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes categoryFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes categoryShine {
  0%,
  56% {
    transform: translateX(-52%);
    opacity: 0;
  }

  68% {
    opacity: 1;
  }

  100% {
    transform: translateX(52%);
    opacity: 0;
  }
}

@keyframes carouselFade {
  from {
    opacity: 0;
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-phone {
    width: 100%;
    justify-content: flex-start;
    color: var(--teal-dark);
    background: rgba(239, 246, 255, 0.94);
    box-shadow: none;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .split,
  .contact-panel,
  .service-panel,
  .value-panel {
    grid-template-columns: 1fr;
  }

  .home-service-row {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 0;
  }

  .home-service-band.is-reverse .home-service-visual,
  .home-service-band.is-reverse .home-service-copy {
    order: initial;
    justify-self: stretch;
  }

  .home-service-copy {
    max-width: 680px;
  }

  .about-profile-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-profile-text {
    max-width: 760px;
  }

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

  .hero {
    min-height: auto;
    gap: 34px;
  }

  .home-hero {
    min-height: calc(100vh - 76px);
  }

  .home-hero-content {
    padding-right: 0;
    padding-left: 0;
  }

  .home-hero-overlay {
    background: linear-gradient(180deg, rgba(8, 20, 45, 0.82), rgba(8, 20, 45, 0.46));
  }

  .home-hero-button {
    top: auto;
    bottom: 76px;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .home-hero-button:hover {
    transform: scale(1.04);
  }

  .home-hero-button.prev {
    left: 16px;
  }

  .home-hero-button.next {
    right: 16px;
  }

  .service-grid,
  .service-category-picker,
  .timeline,
  .assurance-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .catalog-services-grid {
    gap: 16px;
  }

  .catalog-service-card {
    flex-basis: calc((100% - 32px) / 3);
  }

  .catalog-assurances {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-category-card {
    min-height: 300px;
  }

  .panel-copy {
    position: static;
  }

  .service-tabs {
    position: sticky;
    top: 86px;
    align-self: start;
    max-height: calc(100vh - 104px);
  }

  .service-browser,
  .service-summary-panel {
    grid-template-columns: 1fr;
  }

  .summary-visual .image-placeholder {
    min-height: 420px;
  }

  .bg-service-icon {
    width: 180px;
    opacity: 0.055;
  }

  .service-panel {
    padding: 22px;
  }

  .service-assurance {
    padding: 20px;
  }

  .before-after-section {
    padding: 20px;
  }

  .before-after {
    min-height: 440px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .gallery-grid .image-placeholder {
    height: 440px;
    min-height: 440px;
  }

  .portrait-gallery,
  .portrait-gallery .image-placeholder {
    width: min(100%, 460px);
    height: 600px;
    min-height: 600px;
  }

  .image-placeholder,
  .image-placeholder.large {
    min-height: 360px;
  }

  .floating-badge {
    right: 18px;
  }
}

@media (max-width: 620px) {
  .navbar,
  .section,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .home-services-heading {
    padding-bottom: 38px;
  }

  .home-service-row {
    width: min(100% - 24px, 1180px);
    padding: 48px 0;
    gap: 26px;
  }

  .home-service-visual img {
    aspect-ratio: 4 / 3;
  }

  .home-service-number {
    top: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
  }

  .home-service-copy h3 {
    font-size: 1.8rem;
  }

  .home-service-points {
    grid-template-columns: 1fr;
  }

  .home-service-copy .btn {
    width: 100%;
  }

  .about-profile-layout {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .about-service-grid {
    grid-template-columns: 1fr;
  }

  .about-service-item {
    min-height: 112px;
  }

  .about-mission-content {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .about-signature {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: auto;
  }

  body[data-page="hizmetlerimiz"] .page-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .brand-text {
    max-width: 145px;
    line-height: 1.15;
  }

  .brand-logo {
    width: auto;
    height: 68px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.4rem);
  }

  .home-hero-content {
    width: min(100% - 24px, 1180px);
    padding: 64px 0 118px;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-actions {
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-contact-button {
    width: 52px;
    height: 52px;
  }

  .floating-contact-button svg {
    width: 26px;
    height: 26px;
  }

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

  .trust-list {
    grid-template-columns: 1fr;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
  }

  .value-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 26px;
  }

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

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

  .service-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    top: 82px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .service-tab {
    flex: 1 1 calc(50% - 8px);
    justify-content: flex-start;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .tab-icon {
    width: 34px;
    height: 34px;
  }

  .tab-icon svg {
    width: 23px;
    height: 23px;
  }

  .service-category-card {
    min-height: 260px;
    padding: 20px;
  }

  .catalog-services-grid {
    gap: 16px;
  }

  .catalog-service-card {
    flex-basis: 100%;
    min-height: 0;
    grid-template-rows: 250px auto auto auto;
  }

  .catalog-card-copy {
    font-size: 0.9rem;
  }

  .catalog-assurances {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .catalog-assurances > span {
    justify-content: flex-start;
  }

  .summary-content {
    padding: 24px;
  }

  .summary-list {
    grid-template-columns: 1fr;
  }

  .washing-service-grid {
    grid-template-columns: 1fr;
  }

  .washing-service-item:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .washing-detail-heading {
    margin-bottom: 22px;
  }

  .washing-service-media {
    aspect-ratio: 16 / 10;
  }

  .washing-service-copy p {
    min-height: 0;
  }

  .washing-gallery-action .btn,
  .washing-gallery-action .category-back {
    width: 100%;
  }

  .service-background {
    display: none;
  }

  .image-placeholder,
  .image-placeholder.large {
    min-height: 280px;
  }

  .gallery-grid,
  .gallery-grid .image-placeholder {
    height: 310px;
    min-height: 310px;
  }

  .portrait-gallery,
  .portrait-gallery .image-placeholder {
    width: min(100%, 360px);
    height: 500px;
    min-height: 500px;
  }

  .before-after {
    min-height: 340px;
  }

  .compare-divider span {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Service gallery */
.gallery-accordion {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  padding-bottom: 90px;
}

.gallery-accordion-item {
  scroll-margin-top: 96px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.gallery-accordion-item.is-open {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 22px 54px rgba(30, 58, 138, 0.12);
}

.gallery-accordion-toggle {
  width: 100%;
  min-height: 138px;
  display: grid;
  grid-template-columns: 180px 54px minmax(0, 1fr) auto 50px;
  align-items: center;
  gap: 20px;
  padding: 12px 18px 12px 12px;
  color: var(--ink);
  text-align: left;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gallery-accordion-toggle:hover,
.gallery-accordion-toggle:focus-visible {
  background: rgba(239, 246, 255, 0.7);
}

.gallery-accordion-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: -3px;
}

.gallery-accordion-media {
  width: 100%;
  height: 114px;
  display: block;
  overflow: hidden;
  background: #eaf1f8;
  border-radius: 6px;
}

.gallery-accordion-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-accordion-toggle:hover .gallery-accordion-media img,
.gallery-accordion-item.is-open .gallery-accordion-media img {
  transform: scale(1.04);
}

.gallery-accordion-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  background: var(--teal-dark);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.gallery-accordion-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.gallery-accordion-copy strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.gallery-accordion-copy > span {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-accordion-count {
  padding: 8px 11px;
  color: #16408f;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 6px;
}

.gallery-accordion-chevron {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #eff6ff;
  border-radius: 50%;
}

.gallery-accordion-chevron svg,
.gallery-collapse-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-accordion-chevron svg {
  transition: transform 0.3s ease;
}

.gallery-accordion-item.is-open .gallery-accordion-chevron svg {
  transform: rotate(180deg);
}

.gallery-category-panel[hidden] {
  display: none;
}

.gallery-category-panel {
  padding: 46px 28px 42px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.74), rgba(255, 255, 255, 0.98) 240px);
  border-top: 1px solid rgba(37, 99, 235, 0.14);
}

.gallery-category-panel:not([hidden]) {
  display: block;
  animation: galleryPanelIn 0.38s ease both;
}

@keyframes galleryPanelIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-collapse-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--teal-dark);
  font: inherit;
  font-weight: 850;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 6px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.gallery-collapse-button:hover,
.gallery-collapse-button:focus-visible {
  color: white;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.gallery-category-heading {
  width: 100%;
  margin-bottom: 54px;
}

.gallery-category-heading h2 {
  max-width: 960px;
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.65rem);
  line-height: 1.15;
}

.gallery-category-heading > p:last-child {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-groups {
  display: grid;
  gap: 72px;
}

.gallery-group {
  scroll-margin-top: 110px;
  padding-top: 28px;
  border-top: 1px solid rgba(37, 99, 235, 0.14);
}

.gallery-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}

.gallery-group-heading .eyebrow {
  margin-bottom: 8px;
}

.gallery-group-heading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.gallery-group-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.gallery-compare-card {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.07);
}

.gallery-compare-stage {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.gallery-compare-stage:focus-within .compare-divider span {
  box-shadow:
    0 0 0 5px rgba(56, 189, 248, 0.28),
    0 14px 34px rgba(15, 23, 42, 0.22);
}

.gallery-photo-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  font: inherit;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.07);
  cursor: zoom-in;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.gallery-photo-card:hover,
.gallery-photo-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 22px 48px rgba(30, 58, 138, 0.14);
}

.gallery-photo-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.gallery-photo-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaf1f8;
}

.gallery-photo-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-photo-card:hover .gallery-photo-media img {
  transform: scale(1.035);
}

.gallery-photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #16408f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
}

.gallery-photo-badge[data-state="once"] {
  color: #7c2d12;
  background: rgba(255, 247, 237, 0.96);
  border-color: rgba(194, 65, 12, 0.18);
}

.gallery-photo-badge[data-state="sonra"] {
  color: #166534;
  background: rgba(240, 253, 244, 0.96);
  border-color: rgba(22, 101, 52, 0.18);
}

.gallery-lightbox {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: white;
  background: #101827;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox::backdrop {
  background: rgba(7, 15, 29, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 12px 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: grid;
  place-items: center;
  color: white;
  font: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 6px;
  font-size: 1.85rem;
  line-height: 1;
}

.gallery-lightbox-stage {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.gallery-lightbox-stage img {
  width: 100%;
  height: min(72vh, 760px);
  display: block;
  object-fit: contain;
}

.gallery-lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox-nav:active {
  transform: scale(0.94);
}

.gallery-lightbox-meta {
  margin: 0;
  padding: 0 22px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 900px) {
  .gallery-accordion-toggle {
    grid-template-columns: 140px 46px minmax(0, 1fr) 44px;
    gap: 14px;
  }

  .gallery-accordion-count {
    display: none;
  }

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

  .gallery-group-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .gallery-accordion {
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 68px;
  }

  .gallery-accordion-toggle {
    min-height: 112px;
    grid-template-columns: 92px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 10px;
  }

  .gallery-accordion-media {
    height: 90px;
  }

  .gallery-accordion-number {
    display: none;
  }

  .gallery-accordion-copy {
    gap: 5px;
  }

  .gallery-accordion-copy strong {
    font-size: 1.08rem;
  }

  .gallery-accordion-copy > span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .gallery-accordion-chevron {
    width: 36px;
    height: 36px;
  }

  .gallery-category-panel {
    padding: 32px 14px 34px;
  }

  .gallery-category-heading {
    margin-bottom: 40px;
  }

  .gallery-groups {
    gap: 54px;
  }

  .service-photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-compare-card {
    padding: 8px;
  }

  .gallery-compare-stage {
    aspect-ratio: 4 / 3;
  }

  .gallery-lightbox {
    width: calc(100% - 16px);
  }

  .gallery-lightbox-toolbar {
    padding-left: 14px;
  }

  .gallery-lightbox-stage {
    position: relative;
    display: block;
    padding: 10px;
  }

  .gallery-lightbox-stage img {
    height: min(72vh, 680px);
  }

  .gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 18, 36, 0.72);
  }

  .gallery-lightbox-nav:active {
    transform: translateY(-50%) scale(0.94);
  }

  .gallery-lightbox-nav.prev {
    left: 16px;
  }

  .gallery-lightbox-nav.next {
    right: 16px;
  }
}
