/* =====================================================================
   Tidal Buyers — main stylesheet
   Palette pulled from the brand logos (coastal / wave theme).
   Edit the variables below to re-theme the whole site at once.
   ===================================================================== */

:root {
  --navy:       #14366A;  /* primary brand navy            */
  --navy-deep:  #0F2A52;  /* darker navy (hero/footer bg)  */
  --ocean:      #5B8FC9;  /* secondary ocean blue          */
  --cta:        #2F6FB5;  /* button blue (a touch brighter)*/
  --cta-hover:  #245a96;
  --sky:        #A9C7DE;  /* light sky blue                */
  --sky-soft:   #DCEAF4;  /* very light blue tint          */
  --cream:      #F5F3EC;  /* soft cream background         */
  --white:      #FFFFFF;
  --ink:        #1B2A3A;  /* main body text                */
  --muted:      #5A6B7B;  /* secondary text                */
  --line:       #E2E8EF;  /* hairline borders              */
  --shadow:     0 10px 30px rgba(20, 54, 106, .10);
  --shadow-sm:  0 4px 14px rgba(20, 54, 106, .08);
  --radius:     14px;
  --radius-sm:  10px;
  --maxw:       1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Helvetica Neue", sans-serif;
}

/* ----------------------------- base -------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tint { background: var(--cream); }
.section--sky { background: var(--sky-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--ocean); margin-bottom: 10px;
}
.lead { font-size: 1.18rem; color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

/* ---------------------------- buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--sky-soft); color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 19px 34px; font-size: 1.12rem; }
.btn-block { display: flex; width: 100%; }

/* ----------------------------- header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: 52px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.18rem; letter-spacing: -.01em; }
.brand-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ocean); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.menu-link { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a.menu-link:hover { color: var(--cta); text-decoration: none; }
/* The nav carries a CTA only for the mobile dropdown; on desktop the
   header-cta button is used instead, so hide this one by default. */
.nav > .btn { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.call-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); }
.call-link:hover { color: var(--cta); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ------------------------------ hero ------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, #0c2247 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 80px 0 110px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--sky); }
.hero p.sub { font-size: 1.22rem; color: #d8e6f3; margin-bottom: 26px; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 26px; padding: 0; margin: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #eaf2fa; }
.hero-points svg { width: 20px; height: 20px; color: var(--sky); flex: none; }
.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(6,20,45,.40); padding: 26px;
}
.hero-card .sign-img { border-radius: var(--radius-sm); overflow: hidden; }
.hero-card .sign-cap { margin: 14px 2px 0; text-align: center; font-weight: 700; color: var(--navy); }
.hero-card .sign-sub { text-align: center; color: var(--muted); font-size: .92rem; margin: 2px 0 0; }
/* decorative wave at bottom of hero */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* --------------------------- trust bar ----------------------------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
  list-style: none; margin: 0; padding: 22px 0;
}
.trustbar li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.trustbar svg { width: 22px; height: 22px; color: var(--ocean); flex: none; }

/* --------------------------- how it works -------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------------------------- benefits ----------------------------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 920px; margin: 0 auto; }
.benefit { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.benefit .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); font-size: .98rem; }

/* --------------------------- comparison ---------------------------- */
.compare { max-width: 820px; margin: 36px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; background: #fff; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-size: .98rem; }
.compare thead th:last-child { background: var(--cta); }
.compare td:first-child { font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: #1f8a4c; font-weight: 700; }
.compare .no { color: #b23b3b; }

/* -------------------------- testimonials --------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; }
.testi blockquote { margin: 0 0 18px; font-size: 1.02rem; color: var(--ink); }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.testi .who b { color: var(--navy); display: block; font-size: .98rem; }
.testi .who span { color: var(--muted); font-size: .85rem; }
.testi-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* ----------------------------- lead form --------------------------- */
.leadform { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.leadform h2 { color: #fff; }
.leadform .lead { color: #d8e6f3; }
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.form-pitch ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.form-pitch li { display: flex; gap: 11px; align-items: flex-start; color: #eaf2fa; }
.form-pitch svg { width: 22px; height: 22px; color: var(--sky); flex: none; margin-top: 1px; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(6,20,45,.40); padding: 30px; }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card .muted { color: var(--muted); margin-bottom: 18px; }

/* native fallback form styling (also makes Fluent Forms look consistent) */
.tb-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tb-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin: 0 0 6px; }
.tb-form .field { margin-bottom: 14px; }
.tb-form input, .tb-form select, .tb-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cdd8e3; border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
}
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(47,111,181,.15);
}
.tb-form textarea { min-height: 96px; resize: vertical; }
.tb-form .hp { position: absolute; left: -9999px; }   /* honeypot */
.form-fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* --------------------------- faq accordion ------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 54px 18px 20px; font-size: 1.06rem; font-weight: 700; color: var(--navy);
  position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--ocean); border-bottom: 2.5px solid var(--ocean);
  transform: translateY(-65%) rotate(45deg); transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-35%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 460px; }

/* --------------------------- final cta ----------------------------- */
.finalcta { background: var(--cta); color: #fff; text-align: center; }
.finalcta h2 { color: #fff; }
.finalcta p { color: #eaf2fa; max-width: 560px; margin: 0 auto 22px; font-size: 1.12rem; }

/* --------------------------- contact page -------------------------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card b { color: var(--navy); display: block; }
.contact-card a, .contact-card span { color: var(--muted); }
.page-hero { background: var(--cream); padding: 56px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.12rem; }

/* ----------------------------- footer ------------------------------ */
.site-footer { background: var(--navy-deep); color: #c7d6e6; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand-name { color: #fff; }
.site-footer img.flogo { height: 56px; width: 56px; border-radius: 50%; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer a { color: #c7d6e6; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #9fb3c8; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.footer-disc { font-size: .8rem; color: #8aa0b6; margin-top: 14px; max-width: 60ch; }

/* ------------------------- sticky mobile bar ----------------------- */
.mobile-cta { display: none; }

/* ---------------------------- utilities ---------------------------- */
.hide { display: none !important; }

/* --------------------------- responsive ---------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 56px 0 90px; }
  .hero-card { max-width: 460px; }
  .form-wrap { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  /* mobile slide-down menu */
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 20px 18px;
  }
  .nav.open a.menu-link { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav.open .btn { display: flex; margin-top: 12px; }
  .benefits { grid-template-columns: 1fr; }
  .tb-form .row { grid-template-columns: 1fr; }
  /* sticky tap-to-call/offer bar on phones */
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(20,54,106,.12);
  }
  .mobile-cta .btn { flex: 1; padding: 14px; font-size: 1rem; }
  body { padding-bottom: 70px; }
}
