/* Vibeway Media — clean static rebuild.
   Brand: navy #0d131a + teal #377fa3, Montserrat. Hand-written, dependency-free
   (only Google Fonts). Replaces the Hostinger Website Builder version. */

:root {
  --navy: #0d131a;
  --navy-soft: #1b2530;
  --accent: #377fa3;
  --accent-dark: #2b6584;
  --accent-light: #e6f0f4;
  --ink: #0d131a;
  --muted: #5c6675;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13,19,26,.05), 0 12px 30px rgba(13,19,26,.06);
  --shadow-lg: 0 20px 50px rgba(13,19,26,.12);
  --container: 1140px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; max-width: 620px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem; font-family: var(--font);
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(55,127,163,.28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-light); color: var(--accent-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; border: 0; background: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 5rem 0 5.5rem; }
.hero h1 { margin-bottom: .5rem; }
.hero .lead { margin-bottom: 1.8rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -18px; bottom: -18px; background: #fff; border-radius: 14px;
  padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center;
}
.hero-badge .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-light); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.hero-badge b { display: block; font-size: 1.05rem; color: var(--ink); }
.hero-badge span { font-size: .78rem; color: var(--muted); }

/* Sections */
section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }
.section-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Feature / service cards */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: 0; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem; color: var(--ink); font-weight: 500; }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 800; background: var(--accent-light); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 22px; font-size: .8rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat .label { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: .6rem; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who b { color: var(--ink); font-size: .95rem; }
.quote .who span { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), #143047); color: #fff; border-radius: 22px; padding: 3rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 1.6rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info .row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem; }
.contact-info .row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-light); color: var(--accent); display: grid; place-items: center; flex: 0 0 46px; }
.contact-info .row b { color: var(--ink); display: block; }
.contact-info .row a { font-weight: 600; }
form.card { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .logo-white { height: 22px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(255,255,255,.72); font-weight: 500; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero-media { order: -1; }
  .grid-3, .testimonials { grid-template-columns: 1fr; }
  .grid-2, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 0;
  }
  .nav.open .nav-links li { width: 100%; }
  .nav.open .nav-links a { display: block; padding: .9rem 22px; }
  .cta-band { padding: 2.2rem 1.4rem; }
}
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ============================================================
   Review fixes — AA contrast, no-JS-safe reveal, polish, a11y
   ============================================================ */
:root { --accent-deep: #1f4c63; }

/* Contrast: use the darker teal for text/links/buttons (>=4.5:1 on white);
   keep the brighter --accent only for large icon fills & big stat numbers. */
a { color: var(--accent-dark); }
a:hover { color: var(--accent-deep); }
.eyebrow { color: var(--accent-dark); }
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
.btn-primary { background: var(--accent-dark); }
.btn-primary:hover { background: var(--accent-deep); }

/* Secondary button: a visible resting edge on white and alt backgrounds. */
.btn-outline { border-color: #c3ccd6; }

/* Reveal-on-scroll is a PROGRESSIVE enhancement: content is visible by
   default and only hidden/animated once JS has added `.js` to <html>. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* Testimonial cards: pin the author to the bottom so short quotes don't float. */
.quote { display: flex; flex-direction: column; }
.quote .who { margin-top: auto; padding-top: 1rem; }

/* Contact submit spans the form width. */
form.card button[type="submit"] { width: 100%; justify-content: center; }

/* Footer section headings are now <h3> — keep the compact uppercase look. */
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1rem; }

/* Skip-to-content link (visible on focus). */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent-dark); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .15s ease; }
.skip-link:focus { top: 8px; color: #fff; outline: 2px solid #fff; }

/* Primary CTA reachable inside the mobile menu. */
.nav-cta-mobile { display: none; }
@media (max-width: 900px) {
  .nav.open .nav-links .nav-cta-mobile { display: block; padding: .6rem 22px 1.1rem; }
  .nav.open .nav-links .nav-cta-mobile a { display: inline-flex; width: auto; padding: .8rem 1.5rem; }
}
