/* ============================================================
   Ru-Chan English Books Library — Custom Stylesheet
   Complements Tailwind utility classes with project-specific
   styles that cannot be expressed cleanly as utilities.
   ============================================================ */

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF0F5 100%);
  min-height: 100vh;
}

/* Hide scrollbar across browsers while keeping scroll functionality */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }

/* ---------- Animations ---------- */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}

.float-gentle {
  animation: float-gentle 4s ease-in-out infinite;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  z-index: 50;
}

.navbar__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar__brand-icon {
  height: 2.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar__brand-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1f2937;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar__link:hover { color: #FF6B9D; }

.navbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: #FF6B9D;
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
  transition: background 0.2s, box-shadow 0.2s;
}

.navbar__cta:hover {
  background: #db2777;
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.45);
}

.navbar__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #374151;
  padding: 0.25rem;
}

/* Mobile nav drawer */
.navbar__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  background: rgba(255, 255, 255, 0.97);
}

.navbar__mobile-menu.is-open { display: flex; }

.navbar__mobile-link {
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  font-size: 1.125rem;
  transition: color 0.2s;
}

.navbar__mobile-link:hover { color: #FF6B9D; }

@media (min-width: 768px) {
  .navbar__links    { display: flex; }
  .navbar__menu-btn { display: none; }
  .navbar__mobile-menu { display: none !important; }
}

/* Shrink brand name on small screens to avoid overflow */
@media (max-width: 767px) {
  .navbar__brand-name {
    font-size: clamp(0.9rem, 3.8vw, 1.25rem);
  }
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 9999px;
  padding: 0.1875rem;
  flex-shrink: 0;
}

.lang-toggle__btn {
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.3125rem 0.6875rem;
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.lang-toggle__btn[aria-pressed="true"] {
  background: #FF6B9D;
  color: #fff;
}

.lang-toggle__btn:not([aria-pressed="true"]):hover {
  color: #FF6B9D;
}

/* Mobile drawer — keep compact, align left */
.lang-toggle--mobile {
  margin-top: 0.25rem;
  align-self: flex-start;
  width: max-content;
}

/* ---------- Section spacing ---------- */
.section-inner {
  max-width: 80rem;
  margin: 0 auto;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: #FF6B9D;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus { top: 0; }

/* ---------- Badge / pill label ---------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #374151;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.section-badge--sunshine { background: rgba(255, 217, 61, 0.30); }
.section-badge--mint     { background: rgba(107, 203, 119, 0.20); }
.section-badge--coral    { background: rgba(255, 107, 157, 0.20); }

/* ---------- Hero ---------- */
.hero {
  padding: 8rem 1rem 5rem;
  overflow: hidden;
}

.hero__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__text { order: 1; }
.hero__visual { order: 2; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 157, 0.15);
  color: #FF6B9D;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero__heading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #1f2937;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero__heading span { color: #FF6B9D; }

.hero__subheading {
  font-size: 1.25rem;
  color: #4b5563;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #374151;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.hero__bullet::before {
  content: '✨';
  flex-shrink: 0;
  margin-top: 0.1em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #FF6B9D;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.40);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 107, 157, 0.50);
}

/* Hero visual */
.hero__visual-wrap {
  position: relative;
  max-width: 26rem;
  margin: 0 auto;
}

.hero__visual-glow {
  position: absolute;
  top: -2rem;
  right: -2rem;
  bottom: -2rem;
  left: -2rem;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero__image-card {
  position: relative;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(8px);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

.hero__image-card img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  display: block;
}

/* Floating stat badges */
.hero__badge-books,
.hero__badge-fun {
  position: absolute;
  background: #fff;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.hero__badge-books {
  top: -1rem;
  right: -1.5rem;
  background: rgba(255, 107, 157, 0.10);
  border: 1.5px solid rgba(255, 107, 157, 0.20);
}

.hero__badge-fun {
  bottom: -1rem;
  left: -1.5rem;
  background: rgba(107, 203, 119, 0.10);
  border: 1.5px solid rgba(107, 203, 119, 0.20);
}

.hero__badge-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.125rem;
  color: #FF6B9D;
}

.hero__badge-label {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* Hide floating badges on small screens */
@media (max-width: 767px) {
  .hero__badge-books,
  .hero__badge-fun { display: none; }
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero { padding: 10rem 2rem 6rem; }
  .hero__grid { grid-template-columns: 55fr 45fr; }
}

/* ---------- Books / Categories ---------- */
.books {
  padding: 5rem 1rem;
  background: #fff;
}

.books__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.book-card {
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.book-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.book-card--peach   { background: linear-gradient(135deg, #FFB4B4, rgba(255, 107, 157, 0.30)); }
.book-card--yellow  { background: linear-gradient(135deg, #FFD93D, rgba(255, 217, 61, 0.30)); }
.book-card--sky     { background: linear-gradient(135deg, rgba(77, 150, 255, 0.40), rgba(195, 177, 225, 0.30)); }
.book-card--mint    { background: linear-gradient(135deg, rgba(107, 203, 119, 0.40), rgba(107, 203, 119, 0.20)); }

.book-card__emoji { font-size: 3.75rem; margin-bottom: 1.5rem; line-height: 1; }

.book-card__title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #1f2937;
  margin: 0 0 0.75rem;
}

.book-card__desc {
  color: #374151;
  font-weight: 500;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.book-card__covers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.book-card__cover {
  width: 5rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.book-card__btn {
  width: 100%;
  padding: 0.75rem;
  background: #fff;
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
}

.book-card--peach .book-card__btn   { color: #FF6B9D; }
.book-card--yellow .book-card__btn  { color: #ca8a04; }
.book-card--sky .book-card__btn     { color: #4D96FF; }
.book-card--mint .book-card__btn    { color: #6BCB77; }

.book-card--peach  .book-card__btn:hover  { background: #FF6B9D; color: #fff; }
.book-card--yellow .book-card__btn:hover  { background: #eab308; color: #fff; }
.book-card--sky    .book-card__btn:hover  { background: #4D96FF; color: #fff; }
.book-card--mint   .book-card__btn:hover  { background: #6BCB77; color: #fff; }

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

/* ---------- About / Story ---------- */
.about {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 180, 180, 0.10), rgba(195, 177, 225, 0.10));
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.about__text { order: 1; }

.about__divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 107, 157, 0.30), transparent);
  margin: 0.5rem 0;
}

.about__divider {
  border: 0;
  border-top: 2px solid #f3f4f6;
  margin: 1.5rem 0;
}

.about__heading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #1f2937;
  line-height: 1.2;
  margin: 0.75rem 0 0;
}

.about__tagline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #FF6B9D;
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

.about__body {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.8;
}

.about__body p { margin: 0 0 1.25rem; }
.about__body p:last-child { margin-bottom: 0; }

.about__highlight-coral   { font-weight: 600; color: #FF6B9D; }
.about__highlight-sky     { font-weight: 600; color: #4D96FF; }
.about__highlight-mint    { font-weight: 600; color: #6BCB77; }
.about__highlight-lavender { font-weight: 600; color: #C3B1E1; }

.about__callout-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  padding: 1rem 0;
}

.about__closing {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1f2937;
  padding-top: 1rem;
  line-height: 1.6;
}

/* About visual column */
.about__visual { order: 2; }

.about__visual-wrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.about__visual-glow {
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: -1rem;
  left: -1rem;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.20), rgba(77, 150, 255, 0.20));
  border-radius: 9999px;
  filter: blur(48px);
}

.about__image-card {
  position: relative;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  margin-bottom: 1.5rem;
}

.about__image-card img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}

.about__quote-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.10), rgba(255, 180, 180, 0.20));
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 1.5rem;
}

.about__quote {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #FF6B9D;
  margin: 0 0 0.5rem;
}

.about__quote-sub {
  color: #374151;
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0;
}

.about__feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: rgba(107, 203, 119, 0.20);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #6BCB77;
}

.about__feature-title { font-weight: 700; color: #1f2937; font-size: 1.125rem; margin: 0 0 0.125rem; }
.about__feature-sub   { font-size: 0.875rem; color: #6b7280; margin: 0; }

@media (min-width: 1024px) {
  .about { padding: 5rem 2rem; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__text   { order: 1; }
  .about__visual { order: 2; }
}

/* ---------- Rent / CTA Form ---------- */
.rent {
  padding: 5rem 1rem;
}

.rent__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.rent__card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  padding: 2rem;
}

.form__group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form__group:last-of-type { margin-bottom: 0; }

.form__label {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.125rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-family: inherit;
  background: #fff;
  color: #1f2937;
  transition: border-color 0.2s;
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: #FF6B9D;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form__textarea {
  height: 8rem;
  resize: vertical;
}

.form__radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form__radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.form__radio-label:hover { border-color: #FF6B9D; }

.form__radio-label input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #FF6B9D;
  cursor: pointer;
}

.form__radio-title { font-weight: 700; color: #1f2937; font-size: 0.9375rem; margin: 0; }
.form__radio-sub   { font-size: 0.8125rem; color: #6b7280; margin: 0; }

.form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem;
  background: #FF6B9D;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: inherit;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 1.5rem;
}

.form__submit:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 107, 157, 0.45);
}

.form__divider {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f3f4f6;
  text-align: center;
}

.form__divider-text {
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 1rem;
}

.form__contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.form__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s;
}

.form__contact-btn--line  { background: #22c55e; color: #fff; }
.form__contact-btn--line:hover  { background: #16a34a; }

/* PRIMARY modifier — makes LINE visually dominant over Email */
.form__contact-btn--line-primary {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.form__contact-btn--line-primary:hover {
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
  transform: scale(1.03);
}

.form__contact-btn--email { background: #4D96FF; color: #fff; }
.form__contact-btn--email:hover { background: #2563eb; }

/* LINE QR code contact card */
.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem 1.125rem;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 1rem;
}

.contact-qr__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #15803d;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-qr__img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  border-radius: 0.5rem;
  border: 1px solid #d1fae5;
}

@media (min-width: 640px) {
  .rent__card { padding: 3rem; }
  .form__radio-group { grid-template-columns: repeat(2, 1fr); }
  .form__contact-links { flex-direction: row; }
}

/* ---------- Section headers (shared) ---------- */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.125rem);
  color: #1f2937;
  margin: 0.75rem 0 1rem;
}

.section-desc {
  font-size: 1.25rem;
  color: #4b5563;
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  padding: 3rem 1rem;
  border-top: 2px solid #f3f4f6;
}

.footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer__brand-icon {
  height: 2.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__brand-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1f2937;
}

.footer__tagline {
  color: #6b7280;
  max-width: 28rem;
  line-height: 1.6;
  margin: 0;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 107, 157, 0.10);
  color: #FF6B9D;
  font-size: 1.25rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer__social-link:hover { background: #FF6B9D; color: #fff; }

.footer__copyright {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}

/* ---------- Focus-visible (keyboard a11y) ---------- */
:focus-visible {
  outline: 3px solid #FF6B9D;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove outline for mouse/touch users only where browsers support it */
:focus:not(:focus-visible) { outline: none; }

/* ---------- Form success state ---------- */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1rem;
  text-align: center;
}

.form__success.is-visible { display: flex; }

.form__success-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.form__success-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.form__success-msg {
  font-size: 1.125rem;
  color: #4b5563;
  margin: 0;
  max-width: 26rem;
}

/* ---------- Fieldset reset ---------- */
.form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.form__radio-wrap {
  margin-top: 0.5rem;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
