/* ============================================================
   scale.bagful.net — Main Stylesheet
   Colors: Bagful Blue #009BD5, Navy #0A1A2F, White
   ============================================================ */

:root {
  --blue:       #009BD5;
  --blue-dark:  #0078A8;
  --blue-deep:  #005F87;
  --blue-light: #E6F6FC;
  --navy:       #0A1A2F;
  --navy-mid:   #0F2340;
  --navy-light: #162B45;
  --white:      #FFFFFF;
  --off:        #F5F8FC;
  --off-2:      #EBF2F8;
  --muted:      #7A92A8;
  --border:     #D4E3EE;
  --border-dk:  rgba(255,255,255,0.08);
  --text:       #0C1E32;
  --text-mid:   #3A5068;
  --green:      #0EA972;
  --shadow-sm:  0 2px 12px rgba(10,26,47,0.06);
  --shadow-md:  0 4px 28px rgba(10,26,47,0.09);
  --shadow-lg:  0 8px 48px rgba(10,26,47,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── Utility ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--blue);
  flex-shrink: 0;
}

.section-eyebrow.center {
  display: flex;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,155,213,0.28);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.78);
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-outline-white:hover {
  border-color: var(--blue);
  color: var(--white);
  background: rgba(0,155,213,0.07);
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--blue);
  transition: all 0.2s;
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── Topbar ── */
.topbar {
  background: var(--navy);
  padding: 10px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.topbar strong { color: var(--blue); font-weight: 600; }
.topbar .sep { margin: 0 16px; opacity: 0.2; }

/* ── Site Header ── */
.site-header {
  background: var(--blue);
  height: 66px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 500;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-main {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-main .dot { opacity: 0.65; }
.logo-sub {
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 4px;
  transition: all 0.18s;
}
.nav-link:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.nav-cta {
  background: var(--white);
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.18s;
  margin-left: 6px;
}
.nav-cta:hover {
  background: var(--off-2);
  transform: translateY(-1px);
}

/* ── Site Footer ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-main {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-main { font-size: 22px; }
.footer-brand .logo-sub { font-size: 9px; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.2);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-bottom-links a:hover { color: var(--blue); }

/* ── Grid bg pattern ── */
.grid-bg {
  background-image:
    linear-gradient(rgba(0,155,213,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,155,213,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.anim-1 { opacity:0; animation: fadeUp 0.65s 0.1s ease forwards; }
.anim-2 { opacity:0; animation: fadeUp 0.65s 0.2s ease forwards; }
.anim-3 { opacity:0; animation: fadeUp 0.65s 0.3s ease forwards; }
.anim-4 { opacity:0; animation: fadeUp 0.65s 0.4s ease forwards; }
.anim-5 { opacity:0; animation: fadeUp 0.65s 0.5s ease forwards; }

/* ── Form shared ── */
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-label .req { color: var(--blue); margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--off);
  transition: all 0.18s;
  outline: none;
  margin-bottom: 14px;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,155,213,0.1);
}
textarea.form-input {
  resize: vertical;
  min-height: 88px;
  line-height: 1.65;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-section {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 0 12px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .site-nav .nav-link { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .topbar .sep { display: none; }
  .topbar br { display: block; }
}
