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

:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #A07830;
  --cream:      #FAF6F0;
  --warm-white: #FFFDF9;
  --charcoal:   #1E1A17;
  --brown:      #3D2B1F;
  --text:       #3A3028;
  --text-light: #7A6A5A;
  --border:     rgba(201,168,76,0.25);
  --shadow:     0 8px 40px rgba(61,43,31,0.12);
  --radius:     16px;
  --transition: 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  line-height: 1.7;
  /* never let a long word or URL push the page sideways */
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ─── Scroll Reveal ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.fade-down { transform: translateY(-40px); }
.reveal.fade-left { transform: translateX(60px); }
.reveal.fade-right { transform: translateX(-60px); }
.reveal.visible { opacity: 1; transform: translate(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* On phones the sideways reveal offsets stick out past the viewport before
   they animate in, which is what let the page be dragged left on first load.
   Reveal vertically instead — same effect, no horizontal overhang. */
@media (max-width: 700px) {
  .reveal.fade-left,
  .reveal.fade-right { transform: translateY(40px); }
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-3px);
}

.full-width { width: 100%; text-align: center; }

/* ─── Section Helpers ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.script-heading {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

/* ─── Navbar ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(61,43,31,0.1);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

#navbar.scrolled .nav-logo img { height: 48px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s;
  position: relative;
}

#navbar.scrolled .nav-links a { color: var(--text); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #fff !important;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 3px 15px rgba(201,168,76,0.35);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.5); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .burger span { background: var(--charcoal); }

/* ─── Hero ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1E1A17 0%, #3D2B1F 55%, #6B4A2A 100%);
  text-align: center;
  padding: 8rem 2rem 6rem;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* animated floating orbs */
#hero::before, #hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
#hero::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
#hero::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08), transparent 70%);
  bottom: -80px; left: -80px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-logo { margin-bottom: 1.5rem; }
.hero-logo img {
  height: 130px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(201,168,76,0.4));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 4px 20px rgba(201,168,76,0.4)); }
  50% { filter: drop-shadow(0 4px 35px rgba(201,168,76,0.7)); }
}

.hero-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease infinite;
}
@keyframes scroll-dot {
  0% { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* ─── Ribbon / Stats ─── */
#ribbon {
  background: linear-gradient(135deg, var(--charcoal), var(--brown));
  padding: 3.5rem 2rem;
}

.ribbon-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.stat-unit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
}
.stat p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.4rem;
}

.divider {
  width: 1px; height: 60px;
  background: rgba(201,168,76,0.3);
}

/* ─── About ─── */
#about {
  padding: 8rem 2rem;
  background: var(--cream);
}

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

.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 40px rgba(201,168,76,0.25), 0 0 80px rgba(201,168,76,0.1);
  position: relative;
  animation: portrait-glow 4s ease-in-out infinite;
}

@keyframes portrait-glow {
  0%, 100% { box-shadow: var(--shadow), 0 0 40px rgba(201,168,76,0.25), 0 0 80px rgba(201,168,76,0.1); }
  50%       { box-shadow: var(--shadow), 0 0 60px rgba(201,168,76,0.5),  0 0 120px rgba(201,168,76,0.2); }
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(61,43,31,0.3));
  z-index: 1;
}
.about-img-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.45)) drop-shadow(0 0 60px rgba(201,168,76,0.2));
}
.about-img-frame:hover img {
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.65)) drop-shadow(0 0 80px rgba(201,168,76,0.3));
}
.about-img-frame:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  z-index: 2;
}
.about-badge span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.about-text { padding: 1rem 0; }
.about-degree {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.about-text strong { color: var(--text); }

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.credential-tags span {
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ─── Services ─── */
#services {
  padding: 8rem 2rem;
  background: var(--warm-white);
}

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

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.card-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  text-transform: uppercase;
  transition: color 0.3s, letter-spacing 0.3s;
}
.card-link:hover { color: var(--gold); letter-spacing: 0.1em; }

/* ─── Credentials ─── */
#credentials {
  padding: 8rem 2rem;
  background: var(--cream);
}

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

.cred-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(61,43,31,0.05);
}
.cred-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.cred-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.cred-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.cred-card p { color: var(--text-light); font-size: 0.9rem; }
.cred-card strong { color: var(--gold-dark); }

/* ─── Quote Banner ─── */
#quote-banner {
  padding: 8rem 2rem;
  position: relative;
  background:
    linear-gradient(135deg, rgba(30,26,23,0.88) 0%, rgba(61,43,31,0.82) 100%),
    url('services-bg.jpeg') center/cover no-repeat fixed;
  text-align: center;
  overflow: hidden;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.quote-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.big-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}
.big-quote::before { content: '\201C'; color: var(--gold); font-size: 1.2em; }
.big-quote::after  { content: '\201D'; color: var(--gold); font-size: 1.2em; }

/* ─── Contact ─── */
#contact {
  padding: 8rem 2rem;
  background: var(--warm-white);
}

.contact-cols { align-items: start; }

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
/* the text column must be allowed to shrink or long emails/URLs overflow —
   but the icon must keep its fixed circular size, so exclude it */
.contact-item > div:not(.ci-icon) { min-width: 0; flex: 1 1 auto; }
.ci-icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  aspect-ratio: 1;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-item a, .contact-item p {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-item a:hover { color: var(--gold-dark); }

.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  transition: var(--transition);
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* ─── Contact Form ─── */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  background: var(--warm-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b5a898; }

.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* ─── Footer ─── */
footer {
  background: var(--charcoal);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo img {
  height: 80px;
  margin: 0 auto 0.5rem;
  filter: brightness(1.1);
}
.footer-logo p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-reg {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}
.footer-reg span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(201,168,76,0.6);
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  padding-top: 1.5rem;
  width: 100%;
  text-align: center;
  line-height: 1.8;
}

.footer-designer {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
}
.footer-designer a {
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-designer a:hover { opacity: 1; }

/* ─── Toast Notification ─── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image-wrap .about-img-frame img { height: 400px; }
  .contact-cols .contact-info { order: 1; }
  .contact-cols .contact-form-wrap { order: 2; }
  .divider { display: none; }
  .ribbon-inner { gap: 2rem; }
}

@media (max-width: 700px) {
  /* Off-canvas drawer: anchored at right:0 and pushed away with a transform.
     Using right:-100% made the menu occupy real layout space off-screen,
     which gave the whole page a horizontal scrollbar / white strip. */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(250,246,240,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0.4s;
    box-shadow: -4px 0 30px rgba(61,43,31,0.15);
  }
  .nav-links.open { transform: translateX(0); visibility: visible; }
  .nav-links a { color: var(--text) !important; font-size: 1.1rem; }
  .nav-cta { color: #fff !important; }
  .burger { display: flex; z-index: 10; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  #about, #services, #credentials, #contact { padding: 5rem 1.25rem; }
  .container { padding: 0 0.25rem; }
  .hero-logo img { height: 100px; }
  #cursor-glow { display: none; }

  /* ── Contact: keep icons and text inside the card ── */
  .contact-form-wrap { padding: 1.75rem 1.25rem; }
  .contact-item { gap: 0.85rem; }
  .ci-icon { width: 40px; height: 40px; flex: 0 0 40px; }
  .contact-item a, .contact-item p { font-size: 0.88rem; }

  /* 16px inputs stop iOS Safari zooming in (and shifting the page) on focus */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  /* ── Remove hero background image, use plain gradient on mobile ── */
  #hero {
    background: linear-gradient(160deg, #1E1A17 0%, #3D2B1F 55%, #6B4A2A 100%) !important;
    background-attachment: scroll !important;
    animation: none !important;
  }

  /* ── Kill Ken Burns & fixed parallax on mobile ── */
  #quote-banner {
    background-attachment: scroll !important;
  }

  /* ── Stop floating particles rendering on mobile ── */
  .hero-particle { display: none; }

  /* ── Disable 3D tilt (causes repaints) ── */
  .service-card, .cred-card { transform: none !important; }
}

/* ─── About quote ─── */
.about-quote {
  margin: 1.5rem 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--brown);
  line-height: 1.5;
}

/* ─── Why Choose Us ─── */
#why-us {
  padding: 8rem 2rem;
  background: var(--warm-white);
}

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

.why-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  display: block;
  line-height: 1;
}
.why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.6rem;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}
.why-card strong { color: var(--gold-dark); }

/* Medical aid band */
.medaid-band {
  background: linear-gradient(135deg, var(--charcoal), var(--brown));
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}
.medaid-band h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.medaid-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.medaid-logos span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.35);
  color: rgba(255,255,255,0.9);
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.3s, border-color 0.3s;
}
.medaid-logos span:hover {
  background: rgba(201,168,76,0.22);
  border-color: var(--gold);
}

/* Contact note under business hours */
.ci-note {
  font-size: 0.78rem !important;
  font-style: italic;
  color: var(--text-light) !important;
  margin-top: 0.35rem;
}

/* ─── Awards & Recognition ─── */
#awards {
  padding: 8rem 2rem;
  background: linear-gradient(160deg, #FFFDF9 0%, #F7EFDF 55%, #F2E6CE 100%);
  position: relative;
  overflow: hidden;
}
#awards::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(201,168,76,0.18) 0%, transparent 55%);
  pointer-events: none;
}
#awards .container { position: relative; z-index: 2; }

.award-group { margin-bottom: 2.5rem; }
.award-group:last-child { margin-bottom: 0; }

.award-group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.35);
}
.award-group-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brown);
}
.award-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-left: auto;
  white-space: nowrap;
}

.award-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.award-group:last-child .award-row { grid-template-columns: 1fr; }

.award-card {
  display: flex;
  gap: 1.1rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.award-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(201,168,76,0.22);
}

.award-medal {
  font-size: 1.9rem;
  line-height: 1;
  flex: 0 0 auto;
}
.award-body { min-width: 0; }
.award-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.award-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--gold-dark);
  border-radius: 50px;
  padding: 0.15rem 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.award-body p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-light);
}

.why-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.83rem;
  transition: color 0.3s;
}
.why-link:hover { color: var(--gold); }

/* ─── Reschedule & Refund Policy ─── */
#policy {
  padding: 8rem 2rem;
  background: var(--charcoal);
  position: relative;
}
#policy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 60%);
  pointer-events: none;
}
#policy .container { position: relative; z-index: 2; }

.policy-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.policy-brand img {
  height: 90px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(201,168,76,0.35));
}

#policy .section-header h2 { color: #fff; }
#policy .section-sub { color: rgba(255,255,255,0.6); }

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

.policy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
}
.policy-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
  transform: translateY(-5px);
}

.policy-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(201,168,76,0.22);
}
.policy-icon { font-size: 1.5rem; line-height: 1; }
.policy-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.2;
}

.policy-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.policy-card li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
}
.policy-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -0.1em;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.4;
}
.policy-card li strong { color: var(--gold-light); font-weight: 600; }
.policy-card li em { color: rgba(255,255,255,0.9); }

.policy-footer {
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.22);
  padding-top: 2rem;
}
.policy-footer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.policy-footer a {
  color: var(--gold-light);
  font-weight: 600;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  transition: color 0.3s, border-color 0.3s;
}
.policy-footer a:hover { color: #fff; border-color: var(--gold); }

/* ─── Core Services Cylinder ─── */
#core-services {
  padding: 8rem 2rem;
  background: var(--charcoal);
  overflow: hidden;
}
#core-services .section-header {
  position: relative;
  z-index: 5;
}
#core-services .section-header h2 { color: #fff; }
#core-services .section-sub { color: rgba(255,255,255,0.65); margin: 0 auto 1rem; }

.cylinder-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1400px;
  height: 440px;
  overflow: visible;
}

.cylinder-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}

.cylinder-item {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 120deg)) translateZ(320px);
  transition: opacity 0.6s, box-shadow 0.6s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cylinder-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cylinder-item.active {
  box-shadow: 0 0 50px rgba(201,168,76,0.5), 0 20px 60px rgba(0,0,0,0.5);
}

.cyl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.cyl-btn:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.1); }
.cyl-prev { left: -30px; }
.cyl-next { right: -30px; }

.cyl-dots {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.cyl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s;
}
.cyl-dot.active { background: var(--gold); transform: scale(1.3); }

/* ─── Pricing ─── */
#pricing {
  padding: 8rem 2rem;
  background: var(--cream);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.payment-badges span {
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.price-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.price-card:hover::before { transform: scaleX(1); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.price-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(201,168,76,0.35);
}
.price-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.price-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.price-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed rgba(201,168,76,0.2);
}
.price-list li:last-child { border-bottom: none; padding-bottom: 0; }
.price-list li span { color: var(--text-light); flex: 1; line-height: 1.4; }
.price-list li em { font-size: 0.75rem; display: block; }
.price-list li strong { color: var(--gold-dark); font-weight: 700; white-space: nowrap; font-size: 0.9rem; }

.pricing-note {
  background: linear-gradient(135deg, var(--charcoal), var(--brown));
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.8;
}
.pricing-note strong { color: var(--gold-light); }

/* ─── Upcoming Events ─── */
#events {
  padding: 8rem 2rem;
  background: var(--warm-white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.event-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(61,43,31,0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(61,43,31,0.22);
}

.event-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.event-card:hover img { transform: scale(1.06); }

/* "tap to enlarge" hint appears over the image on hover */
.event-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,26,23,0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.event-card:hover .event-zoom-hint { opacity: 1; }

/* always-visible footer with date + Book Now */
.event-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1rem 1.3rem;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.event-actions .event-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
}
.event-actions .btn-primary {
  font-size: 0.75rem;
  padding: 0.6rem 1.6rem;
  width: 100%;
  max-width: 200px;
  text-align: center;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .policy-grid { grid-template-columns: repeat(2,1fr); }
  .award-row { grid-template-columns: 1fr; }
  .cylinder-stage { height: 360px; }
  .cylinder-item { transform: rotateY(calc(var(--i) * 120deg)) translateZ(260px); }
  .cyl-prev { left: 0; }
  .cyl-next { right: 0; }
}

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .events-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .event-img-wrap { aspect-ratio: 4/3; }
  #core-services { padding: 4rem 1.25rem 5rem; }
  #events { padding: 4rem 1.25rem; }
  #pricing { padding: 4rem 1.25rem; }
  #why-us { padding: 4rem 1.25rem; }
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-card { padding: 1.6rem 1.35rem; }
  #awards { padding: 4rem 1.25rem; }
  .award-row { grid-template-columns: 1fr; gap: 1rem; }
  .award-card { padding: 1.5rem 1.25rem; gap: 0.9rem; }
  .award-medal { font-size: 1.6rem; }
  .award-body h4 { font-size: 1.18rem; }
  .award-group-head { flex-wrap: wrap; gap: 0.35rem; }
  .award-group-head h3 { font-size: 1.35rem; }
  .award-date { margin-left: 0; }
  .award-tag { margin-left: 0; margin-top: 0.35rem; }
  #policy { padding: 4rem 1.25rem; }
  .policy-grid { grid-template-columns: 1fr; gap: 1rem; }
  .policy-card { padding: 1.6rem 1.35rem; }
  .policy-brand img { height: 70px; }
  .policy-head h3 { font-size: 1.18rem; }
  .policy-card li { font-size: 0.83rem; }
  .medaid-band { padding: 2rem 1.25rem; }
  .medaid-logos span { font-size: 0.75rem; padding: 0.45rem 1.1rem; }
  .about-quote { font-size: 1.1rem; }
  .cylinder-stage { height: 240px; max-width: 100%; perspective: 900px; }
  .cylinder-item { transform: rotateY(calc(var(--i) * 120deg)) translateZ(130px); }
  .cyl-btn { width: 38px; height: 38px; font-size: 1.4rem; }
  .cyl-prev { left: 0; }
  .cyl-next { right: 0; }
  .payment-badges span { font-size: 0.72rem; }
  .ribbon-item { font-size: 0.8rem; }

  /* ── Pricing cards: stack label above price so nothing hits the card edge ── */
  .price-card { padding: 1.75rem 1.4rem; }
  .price-card h3 { font-size: 1.15rem; }
  .price-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .price-list li span { width: 100%; }
  .price-list li strong {
    white-space: normal;
    font-size: 1rem;
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  .cylinder-stage { height: 200px; perspective: 700px; }
  .cylinder-item { transform: rotateY(calc(var(--i) * 120deg)) translateZ(100px); }
}

/* ─── Scroll Progress Bar ─── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(201,168,76,0.6);
}

/* ─── Hero Particles ─── */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-light);
  pointer-events: none;
  z-index: 1;
  animation: particle-float linear infinite;
  will-change: transform, opacity;
}
@keyframes particle-float {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.4); opacity: 0; }
}

/* ─── Hero Ken Burns background ─── */
#hero { animation: ken-burns 20s ease-in-out infinite alternate; }
@keyframes ken-burns {
  0%   { background-size: 110% auto; }
  100% { background-size: 125% auto; }
}

/* ─── Typewriter cursor blink ─── */
.hero-heading em::after {
  content: '|';
  display: inline-block;
  color: var(--gold-light);
  animation: blink 0.8s step-end infinite;
  margin-left: 3px;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

/* ─── Section label shimmer ─── */
.section-label {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-light) 40%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label.shimmer-active {
  animation: label-shimmer 2s linear infinite;
}
@keyframes label-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Button ripple ─── */
.btn-primary, .btn-outline { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-anim 0.65s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(2.5); opacity: 0; }
}

/* ─── Service card icon bounce on hover ─── */
.service-card:hover .service-icon {
  animation: icon-bounce 0.5s cubic-bezier(0.36,0.07,0.19,0.97);
}
@keyframes icon-bounce {
  0%,100% { transform: translateY(0); }
  30%     { transform: translateY(-10px); }
  60%     { transform: translateY(-4px); }
}

/* ─── Credential card animated border ─── */
.cred-card {
  background: linear-gradient(var(--warm-white), var(--warm-white)) padding-box,
              linear-gradient(135deg, var(--gold-light), transparent, var(--gold)) border-box;
  border: 2px solid transparent;
}
.cred-card:hover {
  background: linear-gradient(var(--cream), var(--cream)) padding-box,
              linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark)) border-box;
  animation: border-spin 3s linear infinite;
}
@keyframes border-spin {
  0%   { background: linear-gradient(var(--cream),var(--cream)) padding-box, linear-gradient(135deg,var(--gold),var(--gold-light),var(--gold-dark)) border-box; }
  50%  { background: linear-gradient(var(--cream),var(--cream)) padding-box, linear-gradient(315deg,var(--gold),var(--gold-light),var(--gold-dark)) border-box; }
  100% { background: linear-gradient(var(--cream),var(--cream)) padding-box, linear-gradient(135deg,var(--gold),var(--gold-light),var(--gold-dark)) border-box; }
}

/* ─── Credential logo pulse ─── */
.cred-card:hover .cred-logo {
  animation: logo-pulse 0.6s ease;
}
@keyframes logo-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.15); box-shadow: 0 0 30px rgba(201,168,76,0.6); }
}

/* ─── Stats ribbon number glow ─── */
.stat-num {
  text-shadow: 0 0 20px rgba(232,201,122,0.4);
  animation: num-glow 3s ease-in-out infinite;
}
@keyframes num-glow {
  0%,100% { text-shadow: 0 0 20px rgba(232,201,122,0.4); }
  50%     { text-shadow: 0 0 40px rgba(232,201,122,0.9), 0 0 80px rgba(232,201,122,0.3); }
}

/* ─── Quote banner text fade-in word by word ─── */
.big-quote { animation: quote-fade 1.2s ease both; }
@keyframes quote-fade {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

/* ─── Social links spin on hover ─── */
.social-links a:hover svg {
  animation: icon-spin 0.5s ease;
}
@keyframes icon-spin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(20deg) scale(1.2); }
  100% { transform: rotate(0deg) scale(1); }
}

/* ─── Contact form input focus line ─── */
.form-group { position: relative; }
.form-group input, .form-group select, .form-group textarea {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  transform: translateY(-2px);
}

/* ─── Footer logo float ─── */
.footer-logo img {
  animation: footer-float 4s ease-in-out infinite;
}
@keyframes footer-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* ─── Cursor glow ─── */
#cursor-glow {
  position: fixed;
  top: -20px; left: -20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s, height 0.3s, background 0.3s;
  will-change: transform;
}
#cursor-glow.hover {
  width: 70px; height: 70px;
  background: radial-gradient(circle, rgba(201,168,76,0.5) 0%, transparent 70%);
}

/* ─── Nav link hover wave ─── */
.nav-links a:not(.nav-cta) {
  display: inline-flex;
  flex-direction: column;
}

/* ─── About badge spin on hover ─── */
.about-image-wrap:hover .about-badge {
  animation: badge-spin 0.6s cubic-bezier(0.36,0.07,0.19,0.97);
}
@keyframes badge-spin {
  0%   { transform: rotate(0deg) scale(1); }
  40%  { transform: rotate(-15deg) scale(1.1); }
  100% { transform: rotate(0deg) scale(1); }
}

/* ─── Scroll indicator enhanced pulse ─── */
.scroll-indicator span {
  animation: scroll-border-pulse 2s ease-in-out infinite;
}
@keyframes scroll-border-pulse {
  0%,100% { border-color: rgba(255,255,255,0.4); box-shadow: none; }
  50%     { border-color: var(--gold-light); box-shadow: 0 0 12px rgba(232,201,122,0.5); }
}

/* ─── Hero heading entrance after typewriter ─── */
.hero-heading {
  min-height: 2.5em;
}

/* ─── Event image cursor ─── */
.event-img-wrap { cursor: zoom-in; }

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 80px rgba(201,168,76,0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox.open img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  background: rgba(201,168,76,0.4);
  border-color: var(--gold);
}
