/* Digital Bravo - static site styles */
:root {
  --navy: #030f27;
  --gold: #c8ad76;
  --yellow: #f8b728;
  --page: #f7f7f7;
  --topbar: #efefef;
  --text: #111;
  --line: #dcdee1;
  --wrap: 1150px;
  --head: "Alata", "Barlow", Arial, sans-serif;
  --body: "Barlow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.25; margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.icon { width: 18px; height: 18px; fill: var(--gold); flex: none; }

/* Top bar */
.topbar { padding: 26px 0 30px; }
.topbar .wrap { display: flex; align-items: center; gap: 24px; }
.logo { margin-left: 50px; margin-right: 50px; }
.logo img { width: 190px; height: auto; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.top-contacts { display: flex; }
.top-contact { border-left: 1px solid var(--line); padding: 10px 45px; }
.top-contact .label { font-weight: 600; color: #828593; font-size: 14px; }
.top-contact .value { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.top-contact a { text-decoration: none; color: #000; }

/* Nav bar - overlaps the section below it */
.site-header { background: var(--topbar); }
.nav-holder { position: relative; z-index: 2; margin-bottom: -42px; }
.nav { background: var(--navy); display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 0 45px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero (home) */
.hero {
  background: url("/images/bg-home.webp") center / cover no-repeat;
  color: #fff;
  padding: 150px 0 100px;
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,39,.45), rgba(3,15,39,.05)); }
.hero .wrap { position: relative; }
.hero-text { max-width: 760px; }
.hero h1 { font-size: 40px; margin-bottom: 30px; }
.hero p { font-size: 18px; font-weight: 500; margin: 0; max-width: 700px; }

/* Section heading with rule */
.section-title { text-align: center; font-size: 40px; margin: 0 auto; max-width: 700px; }
.rule { width: 94px; height: 5px; background: var(--yellow); border: 0; margin: 30px auto 0; }
.rule.wide { width: 100%; max-width: 680px; background: var(--gold); margin-top: 22px; }
.lead { text-align: center; font-family: var(--head); font-size: 20px; margin: 22px 0 0; }

/* Services (home) */
.services { padding: 55px 0 30px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 45px; }
.card img { width: 80%; margin: 0 auto; aspect-ratio: 450 / 304; object-fit: cover; }
.card-body { border: 1px solid var(--line); background: var(--page); text-align: center; padding: 32px 50px; }
.card-body h3 { font-size: 22px; margin-bottom: 18px; }
.card-body p { margin: 0; }

/* Page banner (inner pages) */
.banner { background: var(--navy) center / cover no-repeat; position: relative; color: #fff; padding: 100px 0 38px; }
.banner.no-header { padding: 34px 0; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(3,15,39,.35); }
.banner > * { position: relative; }
.banner h1 { text-align: center; font-size: 34px; }
.banner.plain { background: none; color: var(--text); padding: 110px 0 0; }
.banner.plain::before { display: none; }
.banner.plain .rule { margin: 0 auto 26px; }

/* Generic content section (inner pages) */
.content { padding: 40px 0 30px; }
.content .wrap { max-width: 1150px; }
.content h2 { font-size: 30px; margin: 28px 0 18px; }
.content h3 { font-size: 22px; margin: 26px 0 14px; }
.content p { margin: 0 0 6px; }
.content ul, .content ol { margin: 0 0 16px; }
.content img { margin: 10px auto; }
.content a { color: #1a6fd6; }
.content .big { font-family: var(--head); font-size: 21px; line-height: 1.5; margin: 0 0 4px; }
.content .gap { height: 18px; margin: 0; }
.content .rule { margin: 10px auto 26px; }
.center { text-align: center; }
.right { text-align: right; }
.content.legal { font-family: Arial, Helvetica, sans-serif; font-size: 15px; }
.content.legal .wrap { max-width: 900px; }
.content.legal p { margin-bottom: 14px; }
.content.legal h2, .content.legal h3 { font-family: Arial, Helvetica, sans-serif; }

/* Placeholder where the StudioCart checkout used to be */
.placeholder { max-width: 640px; margin: 20px auto 60px; border: 2px dashed var(--gold); background: #fff; padding: 40px 30px; text-align: center; color: #555; }
.placeholder strong { display: block; font-family: var(--head); font-weight: 400; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.placeholder .plan { margin-top: 14px; font-size: 15px; color: #333; }

/* Order box - Stripe Payment Link button */
.order-box { max-width: 640px; margin: 20px auto 0; background: #fff; border: 1px solid var(--line); padding: 36px 30px 30px; text-align: center; }
.order-plan { font-family: var(--head); font-size: 20px; color: var(--navy); margin: 0 0 22px; }
.order-plan span { display: block; font-family: var(--body); font-size: 17px; color: #555; margin-top: 4px; }
.order-due { background: #f3f4f6; padding: 18px 26px; margin: 0 0 26px; }
.order-due-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 22px; color: #222; margin: 0 0 10px; }
.order-due-terms { font-size: 20px; color: #222; margin: 0; }
.order-btn { display: inline-block; background: #e8a33c; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; padding: 15px 42px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.order-btn:hover { background: #d8922b; }
.order-note { font-size: 15px; color: #222; margin: 16px 0 0; }
.trust-badges { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 26px auto 60px; }
.trust-badges img:first-child { width: 160px; }
.trust-badges img:last-child { width: 70px; }

/* Legal links strip at the bottom of order pages */
.legal-strip { background: var(--navy); display: flex; justify-content: center; gap: 36px; padding: 22px 16px; }
.legal-strip a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; }
.legal-strip a:hover { color: #fff; text-decoration: underline; }

/* 404 page */
.notfound { text-align: center; padding: 130px 0 90px; }
.notfound .rule { margin: 0 auto 26px; }
.notfound h1 { font-size: 38px; margin-bottom: 14px; }
.notfound p { font-size: 18px; margin: 0 0 30px; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding: 30px 0 35px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.footer h3 { font-size: 20px; margin: 5px 0 28px; }
.footer .about p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.9; max-width: 290px; margin: 0; }
.footer-links { list-style: none; margin: 18px 0 0; padding: 0 0 0 4px; }
.footer-links li { border: 0; padding: 2px 0; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer .photo img { width: 100%; aspect-ratio: 360 / 270; object-fit: cover; }
.footer .contact h3 { margin-bottom: 14px; }
.footer .contact ul { list-style: none; margin: 0; padding: 0; }
.footer .contact li { display: flex; gap: 22px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; }
.footer .contact li:first-child { padding-top: 6px; }
.footer .contact li a { text-decoration: none; color: inherit; }
.footer .contact li a:hover { color: #fff; }
.copyright { text-align: center; font-size: 14px; margin: 50px 0 0; }

/* Tablet / mobile */
@media (max-width: 900px) {
  .topbar .wrap { flex-direction: column; }
  .logo { margin: 0; }
  .top-contact { padding: 6px 20px; }
  .cards, .footer-grid { grid-template-columns: 1fr; }
  .hero h1, .section-title, .banner h1 { font-size: 28px; }
  .footer .about p { max-width: none; }
}
@media (max-width: 640px) {
  .top-contacts { flex-direction: column; gap: 10px; }
  .top-contact { border-left: 0; padding: 0; text-align: center; }
  .top-contact .value { justify-content: center; }
  .nav-holder { display: none; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { margin-bottom: 18px; }
  .card-body { padding: 26px 20px; }
  .banner { padding: 90px 0 30px; }
}
