/* FlipCo — rebuilt static site styles
   Palette sampled from the original Wix theme:
   navy #001B3D, slate #405673, light #F2F4F7, silver #C6CBD9,
   gold #D4AF37, cream #F5F2EA */

:root {
  --navy: #001b3d;
  --navy-2: #0a2a52;
  --slate: #405673;
  --ink: #1c2733;
  --light: #f2f4f7;
  --silver: #c6cbd9;
  --gold: #d4af37;
  --gold-dark: #a8862a;
  --cream: #f5f2ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 27, 61, 0.10);
  --font-head: "Poppins", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }
a { color: var(--navy-2); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.alt { background: var(--light); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: #e8ecf3; }
.section.navy h2, .section.navy h3 { color: #fff; }
.lede { font-size: 1.13rem; color: var(--slate); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  padding: 9px 16px;
}
.topbar a { color: var(--gold); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e4e7ee;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; }
.brand .brand-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand .brand-name em { color: var(--gold-dark); font-style: normal; }
.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-size: 1.05rem;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: 64px 0; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.45em; }
.hero h1 .accent { color: var(--gold-dark); }
.hero .lede { margin-bottom: 1.4em; }
.slogan { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-dark); margin: 0 0 1.2em; }
.section.navy .slogan { color: var(--gold); margin: 1.2em 0 0; }
.hero .slogan { font-size: clamp(23px, 3.2vw, 32px); }
.site-footer .foot-slogan { font-family: var(--font-head); color: var(--gold); font-size: 17px; margin: 4px 0 0; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.page-hero {
  background: var(--navy);
  color: #dbe3ef;
  padding: 54px 0;
}
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #c3cede; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn.outline:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.light:hover { background: var(--gold); border-color: var(--gold); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid #e4e7ee;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(0, 27, 61, 0.05);
}
.card img.card-img {
  border-radius: 10px;
  margin-bottom: 18px;
  width: 100%;
  object-fit: cover;
}
.card .more {
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-dark);
}
.card .more:hover { text-decoration: underline; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

/* feature split (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split img.headshot { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; }
.split img.photo-card { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; }
/* flowing layout: square photo floated right, text wraps around it */
.flow::after { content: ""; display: table; clear: both; }
.flow img.photo-card { float: right; width: 340px; max-width: 46%; height: auto; margin: 6px 0 18px 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.flow img.headshot { float: right; width: 280px; max-width: 46%; height: auto; margin: 6px 0 18px 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) {
  .flow img.photo-card, .flow img.headshot { float: none; max-width: 320px; margin: 0 auto 18px; display: block; }
}
.split-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-photos img { width: 100%; height: auto; }

/* full-body portrait photo — displayed at its natural ratio, never cropped */
.photo-full {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 34px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* checklist */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 18px 0 26px; }
.checklist li {
  background: var(--white);
  border: 1px solid #e4e7ee;
  border-radius: 10px;
  padding: 12px 16px 12px 44px;
  position: relative;
  font-weight: 600;
  color: var(--navy);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-weight: 800;
}

/* testimonial */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  color: var(--navy);
  font-weight: 600;
}
.testimonial figcaption { margin-top: 16px; color: var(--slate); font-weight: 600; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
figure.captioned { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
figure.captioned figcaption {
  padding: 14px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--navy);
  touch-action: none;
  user-select: none;
}
.ba-slider.tall { aspect-ratio: 3 / 4; max-width: 560px; margin: 0 auto; }
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-slider.vertical .ba-after { clip-path: inset(var(--pos, 50%) 0 0 0); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 4px;
  margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  cursor: ew-resize;
  z-index: 3;
}
.ba-slider.vertical .ba-handle {
  left: 0; right: 0; top: var(--pos, 50%); bottom: auto;
  width: auto; height: 4px; margin-left: 0; margin-top: -2px;
  cursor: ns-resize;
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  white-space: nowrap;
}
.ba-slider.vertical .ba-knob { transform: translate(-50%, -50%); }
.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  background: rgba(0, 27, 61, 0.78);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag.before { left: 14px; }
.ba-tag.after { right: 14px; }
.ba-slider.vertical .ba-tag.after { top: auto; bottom: 14px; right: 14px; }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba-grid .wide { grid-column: 1 / -1; max-width: 760px; margin: 0 auto; width: 100%; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid #e4e7ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
form .field { margin-bottom: 18px; }
form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
form label .req { color: #b03a2e; }
form input, form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--silver);
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--ink);
}
form input:focus, form textarea:focus {
  outline: 3px solid rgba(212, 175, 55, 0.45);
  border-color: var(--gold-dark);
  background: #fff;
}
form textarea { min-height: 130px; resize: vertical; }
form button[type="submit"] {
  background: var(--navy);
  color: #fff;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 999px;
  cursor: pointer;
}
form button[type="submit"]:hover { background: var(--gold); color: var(--navy); }

/* contact info blocks */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-block {
  background: var(--white);
  border: 1px solid #e4e7ee;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.info-block h3 { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--gold-dark); }
.info-block p { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.info-block a { color: var(--navy); text-decoration: none; }
.info-block a:hover { text-decoration: underline; }

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--silver);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  background: #fff;
}
.socials a:hover { border-color: var(--gold); background: var(--cream); }
footer .socials a { background: transparent; border-color: #33507c; color: #dbe3ef; }
footer .socials a:hover { border-color: var(--gold); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3cede; padding: 58px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h3 { color: #fff; margin-bottom: 14px; }
.site-footer a { color: #dbe3ef; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer .foot-brand img { width: 74px; height: 74px; border-radius: 50%; margin-bottom: 14px; }
.site-footer .tagline { font-family: var(--font-head); color: #fff; font-weight: 600; font-size: 1.08rem; }
.site-footer .legal {
  border-top: 1px solid #274a75;
  padding-top: 20px;
  text-align: center;
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #e4e7ee;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 22px 16px; }
  .main-nav li { border-top: 1px solid #eef1f6; }
  .main-nav a { display: block; padding: 11px 2px; border-bottom: none; }
  .site-header .wrap { position: relative; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .gallery, .ba-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  form .field-row { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
