/* =========================================================================
   Vidavox — static site styles
   Recreated from www.vidavox.ai (originally on Framer)
   Fonts: Outfit (headings) + Inter (body)
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --coral:        #ec6a4f;
  --coral-dark:   #d8543b;
  --green:        #015941;
  --green-hover:  #013d2c;
  --dark:         #0c1e1b;
  --dark-2:       #0f2521;
  --mint:         #f3f9f3;
  --text:         #0d0d0d;
  --text-muted:   #30413e;
  --text-soft:    #5b6b67;
  --on-dark:      #e5ede5;
  --on-dark-soft: rgba(229, 237, 229, 0.66);
  --yellow:       #e4f24a;
  --white:        #ffffff;
  --border:       rgba(12, 30, 27, 0.12);
  --border-dark:  rgba(229, 237, 229, 0.14);

  --radius:    8px;
  --radius-lg: 16px;
  --maxw:      1180px;
  --gutter:    24px;

  --font-head: "Outfit", "Outfit Placeholder", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(12, 30, 27, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 30, 27, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 30, 27, 0.16);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--dark);
}

/* Account for the sticky header when jumping to anchors */
:target { scroll-margin-top: 96px; }
section[id] { scroll-margin-top: 88px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--coral);
  text-transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.6px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
              color .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(1, 89, 65, 0.22);
}
.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 10px 26px rgba(1, 89, 65, 0.30);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border-color: rgba(12, 30, 27, 0.25);
}
.btn-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.nav__logo img { height: 30px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-inline: auto;
}
.nav__links a {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width .22s ease;
}
.nav__links a:hover { color: var(--dark); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 11px 20px; font-size: 0.94rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--dark);
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 99;
  background: var(--dark);
  padding: 18px 24px 28px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  color: var(--on-dark);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.18rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

body.menu-open { overflow: hidden; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding: 70px 0 40px; text-align: center; }
.hero__inner { max-width: 880px; margin-inline: auto; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* =========================================================================
   Video (YouTube facade)
   ========================================================================= */
.video {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 56px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.video img.video__poster {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}
.video:hover img.video__poster { transform: scale(1.04); filter: brightness(.92); }
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0; background: none; cursor: pointer;
}
.video__play span {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(236, 106, 79, 0.95);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease;
}
.video:hover .video__play span { transform: scale(1.08); background: var(--coral); }
.video__play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================================
   Services (dark)
   ========================================================================= */
.services { background: var(--dark); color: var(--on-dark); }
.services__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.services__head h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 36px;
}
.service__icon {
  width: 46px; height: 46px;
  margin-bottom: 22px;
  color: var(--coral);
}
.service__icon svg { width: 100%; height: 100%; }
.service h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.service p { color: var(--on-dark); font-size: 0.95rem; line-height: 1.7; opacity: .82; }

/* =========================================================================
   Split sections (text + media)
   ========================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__text h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 22px; }
.split__text p { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 28px; }
.split__text p strong { color: var(--text); font-weight: 600; }
.split__media .video { margin: 0; max-width: 100%; }
.split__media img.chart {
  width: 100%;
  border-radius: var(--radius);
}

/* =========================================================================
   Connecting / centered media section
   ========================================================================= */
.centered { text-align: center; }
.centered__head { max-width: 860px; margin: 0 auto; }
.centered h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 22px; }
.centered p { color: var(--text-soft); font-size: 1.05rem; max-width: 820px; margin: 0 auto; }
.centered p strong { color: var(--text); font-weight: 600; }

/* =========================================================================
   Collaborators
   ========================================================================= */
.collab h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 48px; }
.collab__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 64px;
}
.collab__logos img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.collab__logos img:hover { transform: translateY(-3px) scale(1.03); }
.collab__logos img.collab--tall { height: 64px; }

/* =========================================================================
   CTA band (mint)
   ========================================================================= */
.cta-band { background: var(--mint); text-align: center; }
.cta-band__inner { max-width: 880px; margin-inline: auto; }
.cta-band h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 36px;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--dark); color: var(--on-dark-soft); padding: 72px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.9fr;
  gap: 48px;
}
.footer__logo img { height: 30px; margin-bottom: 24px; }
.footer__addr p { font-size: 0.92rem; line-height: 1.8; color: var(--on-dark-soft); }
.footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-top: 20px;
  border-radius: 50%;
  background: rgba(229, 237, 229, 0.10);
  color: var(--on-dark);
  transition: background .2s ease, transform .2s ease;
}
.footer__social:hover { background: var(--coral); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer__news p { font-size: 0.92rem; color: var(--on-dark-soft); margin-bottom: 18px; }

.newsletter {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px;
  max-width: 340px;
  gap: 6px;
}
.newsletter input {
  flex: 1;
  border: 0;
  outline: 0;
  background: none;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  min-width: 0;
}
.newsletter button {
  flex: none;
  width: 44px; height: 40px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--dark);
  cursor: pointer;
  display: grid; place-items: center;
  transition: filter .2s ease, transform .2s ease;
}
.newsletter button:hover { filter: brightness(.95); transform: translateX(2px); }
.newsletter button svg { width: 18px; height: 18px; }

.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: var(--on-dark-soft); font-size: 0.95rem; transition: color .18s ease; }
.footer__nav a:hover { color: var(--white); }

.footer__base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.82rem;
  color: var(--on-dark-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.form-note { font-size: 0.82rem; margin-top: 8px; min-height: 1em; }
.form-note.ok { color: var(--yellow); }
.form-note.err { color: #ffb4a3; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-hero { text-align: center; padding: 64px 0 24px; }
.contact-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 1000px;
  margin: 0 auto;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 420px;
  margin-inline: auto;
  padding: 48px 0 8px;
  text-align: center;
}
.contact-card { display: flex; flex-direction: column; align-items: center; }
.contact-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover .contact-card__icon { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(1,89,65,.28); }
.contact-card__icon svg { width: 30px; height: 30px; color: #fff; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-card p { color: var(--text-soft); font-size: 0.97rem; line-height: 1.7; }
.contact-card a.link { color: var(--green); font-weight: 600; }
.contact-card a.link:hover { text-decoration: underline; }

.contact-form-section { background: var(--mint); }
.contact-form-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 40px;
}
.contact-form { max-width: 620px; margin-inline: auto; }
.contact-form .field { margin-bottom: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa6a2; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1, 89, 65, 0.12);
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .btn { width: 100%; padding: 16px; margin-top: 4px; }

/* =========================================================================
   Legal pages (terms / privacy)
   ========================================================================= */
.legal { padding: 64px 0 88px; }
.legal__inner { max-width: 780px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.legal__date { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal p { color: var(--text-soft); margin-bottom: 14px; }
.legal p.lead { color: var(--text); font-size: 1.05rem; margin-bottom: 28px; }
.legal a { color: var(--green); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal ul { margin: 0 0 14px 4px; }
.legal li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.legal li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* =========================================================================
   Reveal-on-scroll animation
   ========================================================================= */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
/* Pure-CSS entrance: animation-fill-mode `both` guarantees the element
   settles fully visible — it can never get stuck hidden. */
.reveal { animation: revealUp .7s cubic-bezier(.2, .6, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
  .split { gap: 44px; }
  :root { --gutter: 22px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu { display: flex; }

  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__col--news { grid-column: 1 / -1; order: 3; }
  .contact-cards { grid-template-columns: 1fr; gap: 36px; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero { padding: 48px 0 24px; }
  .video { margin-top: 40px; border-radius: 12px; }
  .services__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__head { margin-bottom: 44px; }
  .collab__logos { gap: 32px 40px; }
  .collab__logos img { height: 42px; }
  .collab__logos img.collab--tall { height: 50px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__base { flex-direction: column; }
  .footer__col--news { order: 0; }
  .newsletter { max-width: 100%; }
}
