/* ═══════════════════════════════════════════════════════════════
   ASP STUDIOS TEXAS — aspfilmtexas.com
   Main Stylesheet
   Brand: Anaconda Street Productions
   Founded 2007 | Emmy Award-Winning | Whittier, CA → Texas
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bg-primary:     #E6D8C3;
  --bg-secondary:   #D9C7A7;
  --bg-section:     #F2E9DA;
  --orange:         #C26A2E;
  --orange-dark:    #A85820;
  --orange-light:   #D4824A;
  --charcoal:       #1F1F1F;
  --brown:          #6B5A45;
  --brown-light:    #8C7660;
  --sand:           #C8B49A;
  --cream:          #FAF5EC;
  --nav-height:     76px;
  --max-width:      1180px;
  --transition:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg-primary); color: var(--charcoal); font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.1; letter-spacing: -0.02em; color: var(--charcoal); }
a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--orange); color: var(--bg-section); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ─── Layout ────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }
.section-pad { padding: 7rem 0; }
.section-pad-lg { padding: 9rem 0; }

/* ─── Typography Scale ──────────────────────────────────────── */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
}
.divider {
  width: 44px;
  height: 2px;
  background: var(--orange);
  margin-bottom: 1.2rem;
}
.divider--center { margin-left: auto; margin-right: auto; }
.h-hero {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.h-page {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.h-section {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h-card {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.body-lg { font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--brown); line-height: 1.78; }
.body-sm { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--brown); line-height: 1.7; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary   { background: var(--orange);    color: var(--bg-section); border-color: var(--orange);    }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline   { background: transparent;      color: var(--charcoal);   border-color: var(--charcoal);  }
.btn-outline:hover { background: var(--charcoal); color: var(--bg-section); }
.btn-ghost     { background: transparent;      color: var(--bg-section); border-color: rgba(242,233,218,0.5); }
.btn-ghost:hover { background: var(--bg-section); color: var(--charcoal); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ─── Icon System ───────────────────────────────────────────── */
/* All icons are inline SVGs — Lucide style, stroke-width 1.75  */
.asp-icon { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.asp-icon svg { display:block; stroke:currentColor; fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.75; }
/* Card icons — used in service/capability cards */
.asp-icon-card { width:40px; height:40px; margin-bottom:1.1rem; color:var(--charcoal); }
.asp-icon-card svg { width:40px; height:40px; }
/* Industry section icons — inside .ind-icon box */
.asp-icon-ind { width:28px; height:28px; color:var(--orange); }
.asp-icon-ind svg { width:28px; height:28px; }
/* Inline list icons — small icons beside list items */
.asp-icon-inline { width:20px; height:20px; color:var(--orange); }
.asp-icon-inline svg { width:20px; height:20px; }
/* Placeholder icons — inside .media-placeholder */
.asp-icon-placeholder { width:36px; height:36px; color:rgba(107,90,69,0.4); }
.asp-icon-placeholder svg { width:36px; height:36px; }
/* Inline play/arrow — used inside button labels */
.asp-icon-btn { width:14px; height:14px; display:inline-flex; vertical-align:middle; margin-left:2px; }
.asp-icon-btn svg { width:14px; height:14px; }

/* ─── Navigation ────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease;
}
#nav.scrolled {
  background: rgba(230,216,195,0.99);
  border-color: rgba(107,90,69,0.14);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
/* ── Logo image variants ───────────────────────────────────── */
/* PNG is 2048×2048 square. Content (ANACONDA+reflection+STREET+PRODUCTIONS) starts
   at ~30% from top. We render tall, offset by that empty-top amount, and clip the
   wrapper to show the full brand mark at nav scale. */
.nav-logo-img       { height: 135px; width: auto; display: block; margin-top: -30px; transition: opacity 0.35s ease; }
.nav-logo-color     { display: block; }
.nav-logo-light     { display: none; }
.nav-on-dark .nav-logo-color { display: none; }
.nav-on-dark .nav-logo-light { display: block; }
/* Footer logo */
.footer-logo-img    { height: 56px; width: auto; display: block; margin-bottom: 0.5rem; }

.nav-logo { display: flex; align-items: flex-start; line-height: 1; overflow: hidden; height: 64px; }
.nav-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color 0.4s;
}
.nav-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: color 0.4s;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity 0.3s, color 0.4s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { opacity: 1; }
/* Transparent-nav text colours on hero */
.nav-on-dark .nav-logo-main,
.nav-on-dark .nav-links a,
.nav-on-dark .btn-nav { color: #F2E9DA !important; }
.nav-on-dark .nav-logo-sub { color: rgba(242,233,218,0.55) !important; }
/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* Mobile menu */
.nav-mobile {
  position: fixed; inset: 0; z-index: 190;
  background: var(--charcoal);
  display: flex; flex-direction: column;
  padding: 0 2rem;
  transform: translateX(100%);
  transition: transform 0.38s var(--transition);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile-links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; }
.nav-mobile-links a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 7vw, 3rem);
  font-weight: 800;
  color: var(--bg-section);
  opacity: 0.85;
  padding: 0.4rem 0;
  transition: color 0.3s, opacity 0.3s;
  display: block;
}
.nav-mobile-links a:hover { color: var(--orange); opacity: 1; }
.nav-mobile-footer { padding-bottom: 2rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.nav-mobile-footer p { font-family: 'Inter', sans-serif; font-size: 0.72rem; color: rgba(242,233,218,0.35); letter-spacing: 0.08em; }

/* ─── Page Header (inner pages) ─────────────────────────────── */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  background: var(--charcoal);
  overflow: hidden;
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(194,106,46,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-header-grain {
  position: absolute; inset: 0; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.page-header-content { position: relative; z-index: 1; }
.page-header .label { margin-bottom: 0.8rem; }
.page-header h1 { color: var(--bg-section); }
.page-header .body-lg { color: rgba(242,233,218,0.55); margin-top: 1.2rem; max-width: 560px; }

/* ─── Placeholders (REPLACEABLE MEDIA) ──────────────────────── */
.media-placeholder {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--sand) 100%);
  border: 2px dashed rgba(194,106,46,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.media-placeholder::before {
  content: '⚠ REPLACEABLE MEDIA — SOURCE REQUIRED';
  position: absolute;
  top: 0.5rem; left: 50%; transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(230,216,195,0.9);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}
.media-placeholder-icon { font-size: 2rem; opacity: 0.4; }
.media-placeholder-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brown);
  opacity: 0.7;
}
.media-placeholder-spec {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: var(--brown);
  opacity: 0.5;
}

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-section);
  border: 1px solid rgba(200,180,154,0.35);
  transition: transform 0.38s var(--transition), box-shadow 0.38s var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(31,31,31,0.10); }
.card-pad { padding: 2.2rem; }
.card-dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

/* ─── Trust strip ───────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(200,180,154,0.4);
  border-bottom: 1px solid rgba(200,180,154,0.4);
  padding: 2.2rem 0;
}
.trust-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 3rem; }
.trust-item {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(107,90,69,0.45);
  transition: color 0.3s;
  cursor: default;
  letter-spacing: -0.01em;
}
.trust-item:hover { color: var(--brown); }

/* ─── Stats ─────────────────────────────────────────────────── */
.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--bg-section); margin-top: 0.5rem; }
.stat-sub { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,233,218,0.38); margin-top: 0.2rem; }

/* ─── Video embed ───────────────────────────────────────────── */
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--charcoal);
  overflow: hidden;
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── Portfolio grid ────────────────────────────────────────── */
.portfolio-card {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  cursor: pointer;
}
.portfolio-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.65s var(--transition);
  display: block;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.05); }
.portfolio-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,31,31,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-play-btn {
  width: 3.2rem; height: 3.2rem;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: white;
  transition: background 0.3s, transform 0.3s;
}
.portfolio-play-btn:hover { background: var(--orange-dark); transform: scale(1.1); }
.portfolio-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.4rem;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card-info { transform: translateY(0); }
.portfolio-card-client {
  font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
  display: block; margin-bottom: 0.3rem;
}
.portfolio-card-title {
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
  color: #F2E9DA; line-height: 1.2;
}
.portfolio-badge {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  font-family: 'Inter', sans-serif; font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(31,31,31,0.82); color: #F2E9DA;
  padding: 0.25rem 0.6rem;
}
/* Emmy badge */
.emmy-badge {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
  background: var(--orange); color: white;
  font-family: 'Inter', sans-serif; font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  display: flex; align-items: center; gap: 0.25rem;
}

/* ─── Process steps ─────────────────────────────────────────── */
.process-num {
  width: 3rem; height: 3rem;
  border: 1.5px solid rgba(194,106,46,0.38);
  background: rgba(194,106,46,0.07);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-num span {
  font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--orange);
}

/* ─── Form ──────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(107,90,69,0.7);
}
.form-label span { color: var(--orange); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-section);
  border: 1px solid rgba(200,180,154,0.5);
  padding: 0.82rem 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--charcoal);
  outline: none; appearance: none;
  transition: border-color 0.3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(107,90,69,0.38); }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: rgba(200,180,154,0.5); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-family: 'Inter', sans-serif; font-size: 0.72rem; color: rgba(107,90,69,0.5); line-height: 1.6; }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: var(--bg-section);
}
.footer-main { padding: 6rem 0 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-brand-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 800; display: block; } /* legacy fallback */
.footer-brand-sub { font-family: 'Inter', sans-serif; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,233,218,0.38); display: block; margin: 3px 0 1rem; }
.footer-desc { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: rgba(242,233,218,0.48); line-height: 1.7; margin-bottom: 0; max-width: 230px; }
.footer-col-title { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: rgba(242,233,218,0.48); transition: color 0.3s; }
.footer-links a:hover { color: var(--bg-section); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.85rem; }
.footer-contact-icon { color: var(--orange); flex-shrink: 0; font-size: 0.85rem; margin-top: 3px; display: inline-flex; align-items: center; justify-content: center; }
.footer-contact-icon svg { display: block; stroke: currentColor; }
.footer-contact-text { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: rgba(242,233,218,0.48); line-height: 1.5; }
.footer-contact-text a { color: rgba(242,233,218,0.48); transition: color 0.3s; }
.footer-contact-text a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.social-icon { width: 2.1rem; height: 2.1rem; border: 1px solid rgba(242,233,218,0.15); display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; color: rgba(242,233,218,0.4); transition: border-color 0.3s, color 0.3s; cursor: pointer; }
.social-icon:hover { border-color: var(--orange); color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(242,233,218,0.07); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }
.footer-emmy { display: flex; align-items: center; gap: 0.55rem; font-family: 'Inter', sans-serif; font-size: 0.68rem; color: rgba(242,233,218,0.28); }
.footer-emmy span { color: var(--orange); }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: rgba(242,233,218,0.22); transition: color 0.3s; }
.footer-legal a:hover { color: rgba(242,233,218,0.55); }
.footer-copy { font-family: 'Inter', sans-serif; font-size: 0.68rem; color: rgba(242,233,218,0.18); text-align: center; padding: 1rem 0; border-top: 1px solid rgba(242,233,218,0.04); }

/* ─── Scroll Reveal ─────────────────────────────────────────── */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-left   { opacity: 0; transform: translateX(-28px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-right  { opacity: 0; transform: translateX(28px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.48s; }

/* ─── Hero animations ───────────────────────────────────────── */
@keyframes slideUp { from { opacity:0; transform:translateY(36px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes bob     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }
.anim-slide-up { animation: slideUp 0.9s var(--transition) both; }
.anim-fade     { animation: fadeIn 0.7s ease both; }
.a-d1{animation-delay:0.3s} .a-d2{animation-delay:0.55s}
.a-d3{animation-delay:0.75s} .a-d4{animation-delay:0.95s}
.a-d5{animation-delay:1.15s}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none !important; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.4rem; }
  .section-pad { padding: 5rem 0; }
  .section-pad-lg { padding: 6rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  /* Ensure page-header inner pages don't overflow on mobile */
  .page-header .body-lg { max-width: 100%; }
  /* Footer contact text should wrap, not overflow */
  .footer-contact-text { word-break: break-word; }
  /* Nav logo slightly smaller on mobile */
  .nav-logo-img { height: 110px; margin-top: -24px; }
  .nav-logo { height: 52px; }
}
