:root {
  --primary: #DE0000;
  --primary-dark: #012169;
  --accent: #DE0000;
  --neutral: #f7f7f9;
  --white: #ffffff;
  --text-dark: #2a2a2a;
  --text-light: #666666;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
  --gold: #FFD700;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
  background: var(--primary);
  color: var(--white);
}

.btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(1, 33, 105, 0.4);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--accent);
  padding: 0.75rem 1.75rem;
  margin-top: 1.5rem;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.pro-salon {
  font-family: 'Alex Brush', cursive;
  color: var(--accent);
  font-size: 1.2em;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.7;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.trust-bar {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-stars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.star-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.star-icon-small {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.trust-text {
  font-size: 1.0625rem;
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
}

.services-section {
  background: var(--white);
  padding: 5rem 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--neutral);
  border-radius: var(--border-radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.why-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 8rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.why-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 14px;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-content p {
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.7;
  margin: 0;
}

.testimonials-section {
  background: var(--neutral);
  padding: 5rem 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.waves-container {
  position: absolute;
  width: 100%;
  left: 0;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.hero .waves-container {
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
}

.why-section .waves-top {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.why-section .waves-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

.waves-top {
  transform: rotate(180deg);
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px,0,0);
  }
  100% {
    transform: translate3d(85px,0,0);
  }
}

.form-section {
  background: var(--white);
  padding: 5rem 1.5rem;
}

.form-section > .container {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-section .section-title,
.form-section .form-intro {
  color: var(--white);
}

.form-section .container p,
.form-section .container span:not(.step-number),
.form-section .container label,
.form-section .container small,
.form-section .container h2,
.form-section .container h3,
.form-section .container li {
  color: var(--white);
}

.form-section input,
.form-section select,
.form-section textarea {
  color: var(--text-dark);
}

.form-section .step-number {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.form-section .progress-step.active .step-number,
.form-section .progress-step.completed .step-number {
  background: var(--primary);
  color: var(--white);
}

.form-section .form-help,
.form-section .radio-label,
.form-section .checkbox-label,
.form-section .optional,
.form-section .fieldset-legend {
  color: var(--white);
}

.form-section .checkbox-label a {
  color: var(--white);
  text-decoration: underline;
}

.form-section .checkbox-label a:hover {
  text-decoration: none;
}

.form-section .form-label {
  color: var(--white);
}

.form-section .required {
  color: var(--white);
}

.form-section .step-label {
  color: var(--white);
}

.form-section .progress-step.active .step-label,
.form-section .progress-step.completed .step-label {
  color: var(--white);
}

@media (max-width: 600px) {
  .form-section > .container {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.form-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.booking-form {
  max-width: 800px;
  margin: 0 auto;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
  background: var(--primary);
  color: var(--white);
}

.step-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--primary);
}

.progress-line {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  margin: 0 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 80px;
  transition: background 0.3s;
}

.progress-line.completed {
  background: var(--primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form-nav .btn {
  min-width: 140px;
  padding: 0.875rem 1.5rem;
}

.btn-back {
  background: transparent;
  color: var(--text-light);
  border: 2px solid #e0e0e0;
}

.btn-back:hover {
  background: var(--neutral);
  color: var(--text-dark);
  box-shadow: none;
  transform: none;
}

.btn-next,
.btn-submit {
  margin-left: auto;
}

.service-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
  text-align: center;
}

.service-btn:hover {
  border-color: var(--primary);
  background: rgba(222, 0, 0, 0.05);
}

.service-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.service-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.consent-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.stylists-section {
  padding: 5rem 0;
  background: var(--white);
}

.stylist-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.stylist-row:last-child {
  margin-bottom: 0;
}

.stylist-image {
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.stylist-image-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--neutral) 0%, #e0e0e0 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.125rem;
}

.stylist-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.stylist-content {
  flex: 1;
  max-width: 500px;
}

.stylist-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.stylist-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stylist-tagline {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e0e0e0;
}

.stylist-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.stylist-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.stylist-specs li {
  font-size: 0.9375rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.stylist-specs li:last-child {
  border-bottom: none;
}

.stylist-specs strong {
  color: var(--primary-dark);
}

.stylist-cta {
  display: inline-flex;
}

@media (min-width: 900px) {
  .stylist-row {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }

  .stylist-row-reverse {
    flex-direction: row-reverse;
  }

  .stylist-image,
  .stylist-content {
    flex: 1;
    max-width: none;
  }

  .stylist-name {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .progress-bar {
    gap: 0;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  
  .step-label {
    font-size: 0.625rem;
  }
  
  .progress-line {
    max-width: 40px;
    margin: 0 0.5rem;
    margin-bottom: 1.25rem;
  }

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

  .form-nav {
    flex-direction: column-reverse;
  }

  .form-nav .btn {
    width: 100%;
  }

  .btn-next {
    margin-left: 0;
  }
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.fieldset-legend {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--neutral);
  width: 100%;
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.hidden {
  display: none;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.required {
  color: #d9534f;
}

.optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.875rem;
}

.form-input {
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(222, 0, 0, 0.2);
}

.form-input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.form-input.error {
  border-color: #d9534f;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  color: #d9534f;
  font-size: 0.875rem;
  margin-top: 0.375rem;
  display: block;
  min-height: 1.25rem;
}

.form-help {
  color: var(--text-light);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}

.radio-label input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.checkbox-label a {
  color: var(--primary);
}

.form-checkbox {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.form-checkbox:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-submit {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 0;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  position: relative;
}

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

.form-success {
  background: #d4edda;
  border: 2px solid #c3e6cb;
  color: #155724;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 2rem;
}

.success-checkmark {
  width: 60px;
  height: 60px;
  background: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .success-checkmark {
    animation: checkmarkPop 0.4s ease;
  }
}

@keyframes checkmarkPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.form-success p {
  font-size: 1.125rem;
  margin: 0;
}

.location-section {
  background: var(--neutral);
  padding: 5rem 1.5rem;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.location-info {
  text-align: left;
}

.address {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #000814 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}

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

.footer-text {
  margin: 0;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 600px) {
  .footer .container {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 6rem 1.5rem 6rem !important;
  }

  .hero-video-container {
    bottom: 100px !important;
  }
  
  .why-section {
    padding: 6rem 1.5rem !important;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .location-info {
    text-align: center;
  }

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .sticky-header {
    padding: 0.5rem 1rem;
  }

  .header-logo {
    height: 40px;
  }

  .header-phone {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

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

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 33, 105, 0.95);
  cursor: pointer;
}

.gallery-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.gallery-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.gallery-close:hover {
  transform: scale(1.1);
}

.gallery-close svg {
  width: 28px;
  height: 28px;
}

.gallery-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.gallery-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.gallery-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: scale(1.05);
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
}

.gallery-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 70vh;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.gallery-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: none;
}

.gallery-image.loaded {
  display: block;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 400px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
}

.gallery-image.loaded + .gallery-placeholder {
  display: none;
}

.gallery-caption {
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  margin: 1.25rem 0 0 0;
  text-align: center;
}

.gallery-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

.gallery-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.gallery-dot.active {
  background: white;
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  
  .gallery-nav svg {
    width: 20px;
    height: 20px;
  }
  
  .gallery-title {
    font-size: 1.25rem;
  }
  
  .gallery-close {
    top: -2.5rem;
    right: -0.5rem;
  }
}
