/* Photos & Videos — matched to hibachinow.com/photos-videos */

.hn-photos {
  padding-bottom: 4rem;
}

.hn-photos__intro {
  width: min(100% - 2rem, 80rem);
  margin: 0 auto;
  padding: 7.5rem 1rem 2.5rem;
  text-align: center;
}

.hn-photos__intro h1 {
  margin: 0 0 1.5rem;
  color: #dc2626;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.hn-photos__intro > p {
  margin: 0 auto;
  max-width: 56rem;
  color: #525252;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.625;
}

.hn-photos__body {
  width: min(100% - 2rem, 80rem);
  margin: 0 auto;
}

.hn-photos__notice {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.hn-photos__notice--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.hn-photos__notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.hn-photos__form {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

@media (min-width: 640px) {
  .hn-photos__form { padding: 1.5rem; }
}

.hn-photos__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hn-photos__grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    align-items: start;
  }
}

.hn-photos__main {
  display: grid;
  gap: 1.25rem;
}

.hn-photos__row--2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hn-photos__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.hn-photos__field {
  display: block;
}

.hn-photos__label {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
}

.hn-photos__req {
  margin-left: 0.25rem;
  color: #dc2626;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.hn-photos__field input[type="text"],
.hn-photos__field input[type="email"],
.hn-photos__field input[type="number"],
.hn-photos__field textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: #171717;
  background: #fff;
}

.hn-photos__field textarea {
  min-height: 7rem;
  resize: vertical;
}

.hn-photos__field input:focus,
.hn-photos__field textarea:focus {
  outline: 2px solid rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
}

.hn-photos__files-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hn-photos__files-hint {
  font-size: 0.75rem;
  color: #737373;
}

.hn-photos__file-input {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hn-photos__dropzone {
  display: flex;
  min-height: 11rem;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px dashed #d4d4d4;
  border-radius: 0.5rem;
  background: #fafafa;
  padding: 2rem 1rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.hn-photos__dropzone:hover,
.hn-photos__dropzone.is-dragover {
  border-color: #ef4444;
  background: rgba(254, 242, 242, 0.45);
}

.hn-photos__drop-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  color: #dc2626;
}

.hn-photos__drop-title {
  font-size: 1rem;
  font-weight: 600;
  color: #171717;
}

.hn-photos__drop-help {
  font-size: 0.875rem;
  color: #525252;
}

.hn-photos__file-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hn-photos__file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
}

.hn-photos__file-thumb {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  color: #dc2626;
}

.hn-photos__file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hn-photos__file-thumb.is-video,
.hn-photos__file-thumb.is-file {
  background: #fef2f2;
}

.hn-photos__file-meta {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.hn-photos__file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hn-photos__file-detail {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #737373;
}

.hn-photos__file-remove {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #737373;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.hn-photos__file-remove:hover {
  background: #f5f5f5;
  color: #171717;
}

.hn-photos__aside {
  display: grid;
  gap: 1.25rem;
  padding: 0;
}

.hn-photos__consent-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #171717;
}

.hn-photos__consent-head p {
  margin: 0;
  font-size: 0.875rem;
  color: #525252;
  line-height: 1.5;
}

.hn-photos__permission {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #404040;
}

.hn-photos__permission input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: #dc2626;
  flex-shrink: 0;
}

.hn-photos__permission-text {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.5;
}

.hn-photos__captcha {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hn-photos__captcha-q {
  white-space: nowrap;
  font-weight: 600;
  color: #404040;
}

.hn-photos__captcha input {
  margin-top: 0;
  max-width: 6rem;
}

.hn-photos__submit {
  width: 100%;
  gap: 0.5rem;
  font-weight: 600;
}

/* Success — matched to hibachinow.com/photos-videos/success */
.hn-photos-success {
  min-height: calc(100svh - var(--header-h, 96px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 1rem 2rem;
  background: linear-gradient(to bottom, rgba(255, 247, 237, 0.4), #fff 45%, #fff);
}

.hn-photos-success__wrap {
  width: min(100%, 42rem);
  margin: 0 auto;
}

.hn-photos-success__card {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffedd5;
  border-radius: 1.5rem;
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 70px -40px rgba(234, 88, 12, 0.45);
}

@media (min-width: 640px) {
  .hn-photos-success__card {
    padding: 2.5rem 3rem;
  }
}

.hn-photos-success__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(48px);
}

.hn-photos-success__glow--tr {
  right: -5rem;
  top: -6rem;
  width: 12rem;
  height: 12rem;
  background: rgba(255, 237, 213, 0.7);
}

.hn-photos-success__glow--bl {
  left: -5rem;
  bottom: -7rem;
  width: 12rem;
  height: 12rem;
  background: rgba(254, 226, 226, 0.5);
}

.hn-photos-success__inner {
  position: relative;
  z-index: 1;
}

.hn-photos-success__icon {
  margin: 0 auto;
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0fdf4;
  color: #16a34a;
  box-shadow: 0 0 0 8px rgba(240, 253, 244, 0.5);
}

.hn-photos-success__copy {
  margin: 1.5rem auto 0;
  max-width: 36rem;
}

.hn-photos-success__copy h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hn-photos-success__copy p {
  margin: 0.75rem 0 0;
  color: #525252;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
}

.hn-photos-success__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hn-photos-success__actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.hn-photos-success__btn {
  min-height: 2.75rem;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
}

.hn-photos-success__btn-secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.5rem;
  background: #fff;
  color: #262626;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.hn-photos-success__btn-secondary:hover {
  border-color: #a3a3a3;
  background: #fafafa;
}

