/* Professional studio sections */

.hero-section {
  position: relative;
  margin: 0 auto;
  max-width: 640px;
  min-height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
}

.hero-section.hero--empty {
  min-height: 0;
  border: none;
  margin: 0;
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
}

.hero-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  padding: 0 1rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.trust-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.pro-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.pro-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.pro-section .section-lead {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.packages-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.package-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.package-card h4 {
  font-size: 1rem;
  color: var(--primary);
}

.package-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}

.package-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.steps-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.testimonials-track {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 0;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.testimonial-card footer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  max-width: 480px;
}

.inquiry-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

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

.before-after {
  max-width: 520px;
  margin: 0 auto;
}

.ba-viewport {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.ba-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-viewport img.ba-placeholder {
  object-fit: none;
  background: linear-gradient(135deg, var(--border) 0%, var(--card-bg) 100%);
}

#ba-after-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--primary);
}

#ba-after-clip img {
  width: 100vw;
  max-width: 520px;
  height: 100%;
  object-fit: cover;
}

.ba-labels {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.ba-labels span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

#ba-range {
  width: 100%;
  margin-top: 0.75rem;
  accent-color: var(--primary);
}

.ba-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.tips-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tips-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tip-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.tip-card h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.tip-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.map-card {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 0.75rem;
  background: var(--border);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.65rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--primary);
}

/* Skeleton loaders */
.skeleton-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skeleton-post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-post .sk-media {
  aspect-ratio: 1;
  background: linear-gradient(
    90deg,
    var(--border) 0%,
    color-mix(in srgb, var(--border) 60%, transparent) 50%,
    var(--border) 100%
  );
  background-size: 200% 100%;
  animation: sk-shimmer 1.2s ease-in-out infinite;
}

.skeleton-post .sk-lines {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sk-line {
  height: 0.65rem;
  border-radius: 4px;
  background: var(--border);
  animation: sk-shimmer 1.2s ease-in-out infinite;
}

.sk-line.short {
  width: 40%;
}

.sk-line.mid {
  width: 70%;
}

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

@media (min-width: 640px) {
  .skeleton-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .skeleton-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) {
  .skeleton-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1600px) {
  .skeleton-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.skeleton-grid .sk-cell {
  aspect-ratio: 1;
  background: var(--border);
  animation: sk-shimmer 1.2s ease-in-out infinite;
}

@keyframes sk-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Watermark on feed images */
.carousel-slide {
  position: relative;
}

.carousel-slide::after {
  content: 'H2 Photography';
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}

.has-bottom-nav .site-footer {
  padding-bottom: 5rem;
}

.toolbar-social {
  display: flex;
  align-items: center;
}

.toolbar-social a {
  display: flex;
  padding: 0.35rem;
  color: var(--text-secondary);
}

.toolbar-social a:hover {
  color: var(--primary);
}

.featured-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-left: 0.35rem;
}
