/* ============================================================
   Climbird Technologies – Shared Styles
   ============================================================ */

/* ── GOOGLE SANS (self-hosted) ── */
/* Drop GoogleSans-Regular.woff2 / GoogleSans-Bold.woff2 into a /fonts/ folder */
@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* ── TOKENS ── */
:root {
  --green:      #35c46a;
  --green-dark: #28a858;
  --black:      #111;
  --gray:       #6b7280;
  --light:      #f8f8f6;
  --border:     #e5e7eb;
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
  font-family: var(--font);
}
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; color: var(--black);
  border: 1.5px solid var(--border);
  padding: 0.45rem 0.9rem; font-size: 0.82rem; font-weight: 600;
  border-radius: 7px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-sm:hover { border-color: var(--green); color: var(--green); }

/* ── SECTION COMMONS ── */
.section-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-title .accent { color: var(--green); font-style: italic; }
.section-tagline { font-size: 1rem; color: var(--gray); max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Google Sans', var(--font); font-weight: 700; font-size: 1.1rem; color: var(--black); flex-shrink: 0; }
.nav-logo svg { width: 32px; height: 32px; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.92rem; color: var(--gray); font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--black); background: var(--light); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-cta { background: var(--green); color: #fff; border-radius: 8px; padding: 0.5rem 1.1rem; font-weight: 600; font-size: 0.88rem; transition: background 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav-cta:hover { background: var(--green-dark); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: .3s; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 1rem 1.5rem 1.5rem; gap: .25rem; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .65rem .75rem; border-radius: 6px; font-weight: 500; color: var(--gray); }
.mobile-menu a:hover { background: var(--light); color: var(--black); }
.mobile-menu a.active { color: var(--green); font-weight: 600; }
.mobile-menu .nav-cta { background: var(--green); color: #fff; margin-top: .5rem; text-align: center; border-radius: 8px; padding: 0.6rem 1rem; }
.mobile-menu .nav-cta:hover { background: var(--green-dark); }

/* ── FOOTER ── */
footer { background: #0d0d0d; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 9px; font-family: 'Google Sans', var(--font); color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.footer-logo svg { width: 28px; height: 28px; color: var(--green); }
.footer-brand p { font-size: 0.85rem; color: #6b7280; line-height: 1.7; margin-bottom: 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: .6rem; }
.footer-social-link { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #9ca3af; transition: background 0.2s, color 0.2s; }
.footer-social-link:hover { background: var(--green); color: #fff; }
.footer-social-link svg { width: 15px; height: 15px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: 0.85rem; color: #6b7280; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; font-size: 0.85rem; color: #6b7280; margin-bottom: .75rem; }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.footer-bottom p { font-size: 0.8rem; color: #4b5563; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: #4b5563; transition: color 0.2s; }
.footer-legal a:hover { color: var(--green); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.55); }
.whatsapp-btn svg { width: 28px; height: 28px; color: #fff; }

/* ── SCROLL ANIMATIONS ── */
.fade-up, .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible, .reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .65s ease, transform .65s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── FORM RESULT MESSAGES ── */
.form-result { font-size: 0.9rem; font-weight: 600; margin-top: 1rem; min-height: 0; }
.form-result--ok  { color: var(--green); }
.form-result--err { color: #ef4444; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 0.95rem; }
  .nav-logo svg { width: 26px; height: 26px; }
  .nav-cta { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
  .whatsapp-btn { width: 48px; height: 48px; bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
}
