/* ============================================
   RETOUCHY.STUDIO — Design System & Styles
   ============================================ */

/* --- 1. CSS Custom Properties --- */
:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-cream: #FAF6F1;
  --color-beige: #E8E0D4;
  --color-beige-dark: #D4C9BA;
  --color-black: #1A1A1A;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-text-light: #999999;
  --color-accent: #2D4A2D;
  --color-accent-light: #EDE7DD;
  --color-border: #E0D8CC;
  --color-overlay: rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-heading: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-padding: 4rem 0;
  --section-padding-sm: 3rem 0;
  --container-max: 1200px;
  --container-padding: 0 1.5rem;
  --card-radius: 12px;
  --radius-sm: 8px;
  --radius-full: 999px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- 2. Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

/* --- 3. Layout Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section--cream {
  background-color: var(--color-cream);
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* --- 4. Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--color-beige);
  color: var(--color-black);
  border: 1px solid var(--color-beige);
}

.btn-primary:hover {
  background-color: var(--color-beige-dark);
  border-color: var(--color-beige-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

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

.btn-white {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-cream);
  border-color: var(--color-cream);
}

.btn-gold {
  background-color: #C8973E;
  color: var(--color-white);
  border: 1px solid #C8973E;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.95rem 2.5rem;
}

.btn-gold:hover {
  background-color: #B5862F;
  border-color: #B5862F;
}

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

/* --- 5. Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__menu a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__menu a:hover,
.nav__menu a.active {
  color: var(--color-black);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav__dropdown:hover .nav__dropdown-chevron,
.nav__dropdown--open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown--open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.nav__dropdown-menu a:hover {
  background-color: var(--color-cream);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 6. Hero Section --- */
.hero-wrapper {
  padding: 1.5rem 0;
  background-color: var(--color-cream);
}

.hero {
  position: relative;
  height: calc(75vh - 70px);
  min-height: 400px;
  max-height: 650px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-black);
  border-radius: 16px;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  border-radius: 16px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 700px;
}

.hero__content h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero__content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

/* --- 7. Portfolio Section --- */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio__item {
  display: flex;
  flex-direction: column;
}

.portfolio__item .ba-slider {
  border-radius: var(--radius-sm);
}

.portfolio__link {
  display: block;
  text-align: center;
  padding: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.portfolio__link:hover {
  color: #C8973E;
}

/* Placeholder style for portfolio items without images */
.portfolio__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- 8. How It Works Section --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition);
}

.step-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.step-card__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--color-beige-dark);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  stroke: var(--color-accent);
}

.step-card__title {
  margin-bottom: 0.65rem;
}

.step-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --- 9. Pricing Section --- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pricing__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--transition);
}

.pricing__card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing__card h3 {
  margin-bottom: 0.75rem;
}

.pricing__range {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.pricing__range span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing__card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.pricing__card .btn {
  width: 100%;
}

/* --- 10. FAQ Section --- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-black);
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

.faq__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-text-muted);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding-bottom: 1.25rem;
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- 11. Reviews Section --- */
.reviews__slider {
  overflow: hidden;
  position: relative;
}

.reviews__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.reviews__slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 0 0.25rem;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-cream);
}

.review-card__info {
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.925rem;
}

.review-card__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: #F5A623;
}

.review-card__text {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-style: italic;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-beige);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.reviews__dot.active {
  background-color: var(--color-black);
  width: 28px;
  border-radius: 5px;
}

/* --- 12. Contact Section --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact__info h2 {
  margin-bottom: 0.75rem;
}

.contact__info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Contact section info heading */

/* Contact Cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid #C8973E;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  transition: all var(--transition);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-body);
}

.contact-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-left-color: #E0AD4A;
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-cream);
}

.contact-card__icon svg {
  width: 18px;
  height: 18px;
  color: #C8973E;
  stroke: #C8973E;
}

.contact-card__icon svg[fill="currentColor"] {
  fill: #C8973E;
  stroke: none;
}

.contact-card__text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  font-family: var(--font-body);
}

.contact-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 0.15rem;
}

.contact-card__value {
  font-size: 0.925rem;
  color: var(--color-text);
  font-weight: 500;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card__copy {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.contact-card__copy:hover {
  color: var(--color-black);
  border-color: var(--color-black);
}

/* Chat Button */
.btn-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 2rem;
  margin-top: 0.5rem;
  background: var(--color-beige);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  color: var(--color-black);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-chat:hover {
  background: var(--color-beige-dark);
  border-color: var(--color-beige-dark);
}

/* Contact Form Wrapper */
.contact__form-wrap h3 {
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  margin-bottom: 0.4rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
  margin-top: 0.75rem;
}

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

/* Contact Form (base) */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition);
  font-size: 0.925rem;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--color-black);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--color-text-light);
}

.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-white);
}

.upload-zone:hover,
.upload-zone--active {
  border-color: var(--color-beige-dark);
  background-color: var(--color-cream);
}

.upload-zone__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--color-text-light);
}

.upload-zone__text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.upload-zone__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.upload-zone__thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
}

.upload-zone__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-zone__thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  line-height: 1;
}

/* Form Feedback Messages */
.form-feedback {
  display: none;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-family: var(--font-body);
}

.form-feedback--success,
.form-feedback--error {
  display: block;
  animation: feedbackFadeIn 0.4s ease;
}

.form-feedback--success {
  background-color: #f0f7f0;
  border: 1px solid #c3dcc3;
  color: #2d5a2d;
}

.form-feedback--error {
  background-color: #fdf0f0;
  border: 1px solid #e8c4c4;
  color: #8b2d2d;
}

.form-feedback__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
  display: block;
}

.form-feedback--success .form-feedback__icon {
  color: #2d5a2d;
}

.form-feedback--error .form-feedback__icon {
  color: #8b2d2d;
}

.form-feedback h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.form-feedback p {
  font-size: 0.875rem;
  color: inherit;
  opacity: 0.85;
}

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

/* --- 13. Footer --- */
.footer {
  background-color: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
}

.footer__text {
  font-size: 0.825rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

/* --- 14. Service Page --- */
.service-intro {
  text-align: center;
  padding: 3rem 0;
}

.service-intro h1 {
  margin-bottom: 1rem;
}

.service-intro__price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.service-intro__desc {
  max-width: 700px;
  margin: 0 auto 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-intro__cta-line {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Before/After Grid */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Before/After Slider */
.ba-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: ew-resize;
  background-color: var(--color-cream);
  -webkit-user-select: none;
  user-select: none;
}

.ba-slider__after,
.ba-slider__before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.ba-slider__before {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-slider__circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ba-slider__circle svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
}

/* Before/After labels */
.ba-slider__label-before,
.ba-slider__label-after {
  position: absolute;
  bottom: 10px;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 4;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.5);
}

.ba-slider__label-before {
  left: 10px;
}

.ba-slider__label-after {
  right: 10px;
}

/* Before/After placeholder */
.ba-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* --- 15. Responsive Styles --- */

/* Tablet */
@media (max-width: 1023px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }

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

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

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

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-padding: 3rem 0;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav__menu--open {
    right: 0;
  }

  .nav__menu > li {
    width: 100%;
  }

  .nav__menu > li > a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__toggle {
    display: flex;
  }

  /* Mobile dropdown */
  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 1rem;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown--open .nav__dropdown-menu {
    transform: none;
    left: auto;
  }

  .nav__dropdown--open .nav__dropdown-menu {
    max-height: 500px;
  }

  .nav__dropdown-menu a {
    padding: 0.5rem 0;
    border-bottom: none;
  }

  /* Mobile overlay */
  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .nav__overlay.active {
    display: block;
  }

  /* Hero */
  .hero-wrapper {
    padding: 0.75rem;
  }

  .hero {
    min-height: 300px;
    max-height: 420px;
    border-radius: 12px;
  }

  .hero__overlay {
    border-radius: 12px;
  }

  .hero__content h1 {
    font-size: 2rem;
  }

  .hero__content p {
    font-size: 1rem;
  }

  /* Grids */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

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

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

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

  /* Reviews - 1 per slide on mobile */
  .reviews__slide {
    grid-template-columns: 1fr;
  }

  .reviews__slide .review-card:nth-child(2) {
    display: none;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 479px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .hero__content h1 {
    font-size: 1.65rem;
  }
}
