/* ================================================
   DEEBANKFAMILIE — MAIN STYLESHEET
   ================================================ */

:root {
  --blue-deep:   #1A3A6B;
  --blue-mid:    #2255A4;
  --blue-bright: #3B7DD8;
  --blue-light:  #D6E8FF;
  --orange:      #F26B1D;
  --orange-warm: #FF8C42;
  --orange-pale: #FFE8D6;
  --white:       #FFFFFF;
  --off-white:   #F9FAFB;
  --text-dark:   #0F1C2E;
  --text-mid:    #334466;
  --text-light:  #7A90B2;
  --shadow:      0 8px 40px rgba(26,58,107,0.10);
  --shadow-card: 0 4px 24px rgba(26,58,107,0.08);
  --radius-lg:   24px;
  --radius-pill: 50px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  visibility: hidden;
  opacity: 0;
}
html.ready {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s ease;
}
@keyframes fouc-fallback {
  to { visibility: visible; opacity: 1; }
}
html {
  animation: fouc-fallback 0s 1s forwards;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

[id] { scroll-margin-top: 80px; }

/* ─── NAVBAR ─── */
nav#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 68px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,58,107,0.08);
  transition: box-shadow 0.3s;
}
nav#navbar.scrolled { box-shadow: 0 4px 24px rgba(26,58,107,0.12); }

.nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.35rem;
  color: var(--blue-deep);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-deep) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 6vw 2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu a:last-child { border: none; }
.mobile-menu .nav-cta {
  text-align: center;
  border-radius: var(--radius-pill) !important;
  padding: 0.75rem !important;
  margin-top: 0.5rem;
  border: none;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d2348 60%, #1a1a2e 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(242,107,29,0.28) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(59,125,216,0.32) 0%, transparent 40%);
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 2;
}

.hero-cover {
  position: absolute;
  inset: 0;
  background-image: url('assets/cover.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 3;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 120px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 6vw 160px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text { animation: fadeUp 0.9s ease both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(242,107,29,0.16);
  border: 1px solid rgba(242,107,29,0.38);
  color: var(--orange-warm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--orange-warm);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(242,107,29,0.38);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); background: #d95a10; box-shadow: 0 8px 28px rgba(242,107,29,0.48); }

.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--orange-warm); background: rgba(242,107,29,0.12); }

.hero-image-wrap {
  display: flex;
  justify-content: center;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-photo {
  width: 340px;
  height: 420px;
  border-radius: 24px 24px 80px 24px;
  background: linear-gradient(135deg, rgba(59,125,216,0.3), rgba(242,107,29,0.2));
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 24px 60px rgba(0,0,0,0.38);
  position: relative;
  overflow: visible;
}
.hero-photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.hero-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  text-align: center;
  border-radius: inherit;
  overflow: hidden;
}
.hero-photo-placeholder svg { opacity: 0.4; }

.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 0.6rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
  white-space: nowrap;
  animation: float 3.2s ease-in-out infinite;
  z-index: 6;
}
.float-badge.left  { bottom: 28px; left: -36px; animation-delay: 0.5s; }
.float-badge.right { top: 38px; right: -36px; }
.float-badge span  { color: var(--orange); }

/* ─── SHARED SECTION STYLES ─── */
section { padding: 90px 6vw; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { color: var(--orange); font-style: italic; }
.section-desc {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 620px;
}

/* ─── ABOUT ─── */
#about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-photo-wrap { position: relative; }

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 32px 8px 32px 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), var(--orange-pale));
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder {
  width: 100%; height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.82rem;
  text-align: center;
}

.about-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--orange-pale);
  z-index: -1;
}
.about-accent-2 {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--blue-light);
  z-index: -1;
}

.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.about-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blue-light);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1;
}
.stat-number span { color: var(--orange); }
.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ─── CONTENT / TOPICS ─── */
#content { background: linear-gradient(180deg, #eef4ff 0%, #fff 100%); }
.content-header { margin-bottom: 3rem; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.topic-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1.5px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}
.topic-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,58,107,0.13);
}
.topic-card:hover::before { opacity: 1; }

.topic-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.topic-icon.blue   { background: var(--blue-light); }
.topic-icon.orange { background: var(--orange-pale); }
.topic-icon.mixed  { background: linear-gradient(135deg, var(--blue-light), var(--orange-pale)); }

.topic-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}
.topic-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── SOCIALS ─── */
#socials {
  background: var(--blue-deep);
  position: relative;
  overflow: hidden;
}
#socials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(242,107,29,0.2) 0%, transparent 50%),
    radial-gradient(circle at 10% 50%, rgba(59,125,216,0.22) 0%, transparent 50%);
}
#socials .section-label { color: var(--orange-warm); }
#socials .section-title { color: #fff; }
#socials .section-desc  { color: rgba(255,255,255,0.68); }

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.social-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.social-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.28);
}
.social-card:hover .social-icon { transform: scale(1.1); }

.social-icon {
  width: 68px; height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.social-icon svg { width: 36px; height: 36px; }

.social-icon.youtube  { background: linear-gradient(135deg, #FF0000, #cc0000); }
.social-icon.facebook { background: linear-gradient(135deg, #1877F2, #0d5fb3); }
.social-icon.tiktok   { background: linear-gradient(135deg, #010101, #3a3a3a); box-shadow: 0 0 0 2px #69C9D0 inset; }

.social-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.social-handle { font-size: 0.83rem; color: rgba(255,255,255,0.52); }
.social-cta {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-warm);
  letter-spacing: 0.4px;
}

/* ─── GALLERY CHAIN ─── */
#gallery { background: #fff; padding: 70px 6vw; }
.gallery-header { margin-bottom: 3rem; }

.chain-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chain-spine::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, var(--blue-light) 5%, var(--blue-light) 95%, transparent);
  transform: translateX(-50%);
  z-index: 0;
}

.moment {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0 16px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.moment-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--blue-light);
  background: var(--off-white);
  position: relative;
  transition: transform 0.3s ease;
}
.moment-photo:hover { transform: scale(1.02); }
.moment-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moment-photo .photo-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 1rem;
  color: var(--text-light);
  font-size: 0.75rem;
  text-align: center;
}

.chain-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.chain-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid var(--blue-light);
  background: var(--white);
  position: relative;
  flex-shrink: 0;
}
.chain-ring::before,
.chain-ring::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background: var(--blue-light);
}
.chain-ring::before { bottom: 100%; height: 24px; }
.chain-ring::after  { top: 100%;    height: 24px; }

.moment-text { padding: 0.5rem 0; }
.moment-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.moment-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}
.moment-body {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.moment-connector {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
  font-style: italic;
}

.moment.left .moment-photo { grid-column: 1; }
.moment.left .chain-node   { grid-column: 2; }
.moment.left .moment-text  { grid-column: 3; }

.moment.right .moment-text  { grid-column: 1; text-align: right; }
.moment.right .chain-node   { grid-column: 2; }
.moment.right .moment-photo { grid-column: 3; }

.chain-gap {
  height: 28px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chain-gap-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

.chain-end {
  max-width: 340px;
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--blue-light);
  background: var(--off-white);
  text-align: center;
}
.chain-end-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.chain-end-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 6px;
}

/* Tag & ring colours */
.tag-nature   { color: #3B8BD4; } .ring-nature   { border-color: #3B8BD4; }
.tag-prayer   { color: #7F77DD; } .ring-prayer   { border-color: #7F77DD; }
.tag-work     { color: #888780; } .ring-work     { border-color: #888780; }
.tag-health   { color: #1D9E75; } .ring-health   { border-color: #1D9E75; }
.tag-tension  { color: #D85A30; } .ring-tension  { border-color: #D85A30; }
.tag-disagree { color: #BA7517; } .ring-disagree { border-color: #BA7517; }
.tag-bedtime  { color: #993556; } .ring-bedtime  { border-color: #993556; }
.tag-happy    { color: #E24B4A; } .ring-happy    { border-color: #E24B4A; }

/* ─── CONTACT ─── */
#contact { background: linear-gradient(135deg, var(--orange-pale) 0%, var(--blue-light) 100%); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(26,58,107,0.1);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: 0.78rem; color: var(--text-light); font-weight: 500; }
.contact-value { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }
.contact-value a { color: var(--blue-mid); text-decoration: none; }
.contact-value a:hover { color: var(--orange); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0e8f5;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(59,125,216,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

#form-submit {
  width: 100%;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.95rem;
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
#form-submit:hover { background: var(--orange); transform: translateY(-1px); }
#form-submit:active { transform: translateY(0); }

#form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
#form-success .success-icon { font-size: 3rem; margin-bottom: 0.75rem; }
#form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}
#form-success p { color: var(--text-mid); }

/* ─── FOOTER ─── */
footer {
  background: var(--text-dark);
  padding: 3rem 6vw 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.4rem;
  display: inline-block;
}
.footer-logo span { color: var(--orange); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.footer-social-link {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.footer-social-link svg { width: 18px; height: 18px; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}
.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }
.powered {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.18);
}
.powered span { color: var(--orange); font-weight: 600; }

/* ─── SCROLL-TO-TOP BUTTON ─── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(242,107,29,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 200;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--blue-deep); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 110px;
    text-align: center;
  }
  .hero-image-wrap { order: -1; }
  .hero-photo { width: 260px; height: 320px; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .socials-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .float-badge { display: none; }
  .about-stats { justify-content: center; }
}

@media (max-width: 680px) {
  .moment {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto;
    gap: 10px 0;
  }
  .moment.left .moment-photo,
  .moment.right .moment-photo  { grid-column: 1 !important; grid-row: 1; }
  .moment.left .chain-node,
  .moment.right .chain-node    { grid-column: 1 !important; grid-row: 2; flex-direction: row; gap: 8px; }
  .moment.left .moment-text,
  .moment.right .moment-text   { grid-column: 1 !important; grid-row: 3; text-align: left !important; }
  .moment-connector             { justify-content: flex-start !important; }
  .chain-ring::before,
  .chain-ring::after            { display: none; }
  .chain-spine::before          { display: none; }
}

@media (max-width: 580px) {
  section { padding: 60px 5vw; }
  .topics-grid { grid-template-columns: 1fr; }
  .socials-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem 1.25rem; }
  .hero-photo { width: 220px; height: 270px; }
}
