/* Velora Financial LLC: shared styles */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: fallback; src: url("../fonts/lato-400.ttf") format("truetype"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: fallback; src: url("../fonts/lato-700.ttf") format("truetype"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: fallback; src: url("../fonts/merriweather-400.ttf") format("truetype"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 700; font-display: fallback; src: url("../fonts/merriweather-700.ttf") format("truetype"); }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 400; font-display: fallback; src: url("../fonts/merriweather-400-italic.ttf") format("truetype"); }

:root {
  --accent: #fc6e51;
  --accent-hover: #fc836a;
  --heading: #fb441f;
  --outline: #b12103;
  --text: #737373;
  --text-shaded: #6d6d6d;
  --dark: #333333;
  --nav: #a3a3a3;
  --footer-text: #b1b0ac;
  --shaded: #f2f2f2;
  --divider: #d1d1d1;
  --content: 1070px;
  --side: max(40px, calc(50vw - 535px));
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 15px;
  font-family: "Merriweather", serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--heading);
}
h1 strong, h2 strong { font-weight: 700; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 15px;
  background: #fff;
  color: var(--dark);
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Headings (Webador size scale) ---------- */
.heading-200 { font-size: 47.622px; }
.heading-130 { font-size: 37.7976px; }
.heading-100 { font-size: 30px; }
.heading-85  { font-size: 23.811px; margin-top: 22.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 7.5px 15px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  line-height: 24.375px;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); }

.btn--small {
  padding: 5.625px 11.25px;
  font-size: 13.125px;
  line-height: 22.5px;
}

.btn--outline {
  background: transparent;
  color: var(--outline);
  box-shadow: inset 0 0 0 2px var(--outline);
}
.btn--outline:hover, .btn--outline:focus-visible { background: var(--outline); color: #fff; }

.btn--white { background: #fff; color: var(--text); }
.btn--white:hover, .btn--white:focus-visible { background: #f2f2f2; }

.btn-stack .btn { display: table; margin-bottom: 15px; }
.btn-stack .btn:last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--dark); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 144px;
  padding: 0 38px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 100px; height: 99px; margin-right: 20px; }
.brand__name {
  font-family: "Merriweather", serif;
  font-size: 27px;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav ul { column-gap: 15px; }
.main-nav a {
  display: block;
  padding: 12px 15px;
  border-bottom: 2px solid transparent;
  color: var(--nav);
  font-size: 15px;
  line-height: 22.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

.menu-toggle {
  display: none;
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 60px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 3px;
  background: var(--accent);
  transition: transform .25s, opacity .25s;
}
.menu-toggle__bars { top: 29px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }

.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); width: 22px; left: -2px; }
.menu-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); width: 22px; left: -2px; }

/* ---------- Sections ---------- */
.strip { padding: 50px 40px; }
.strip--shaded { background: var(--shaded); }
.strip--shaded p { color: var(--text-shaded); }
.strip--accent { background: var(--accent); }
.strip--accent h1, .strip--accent h2, .strip--accent p { color: #fff; }

.container { max-width: var(--content); margin: 0 auto; }
.container--narrow { max-width: 535px; }

.center { text-align: center; }

.intro { margin-bottom: 55px; }
.intro--tight { margin-bottom: 34px; }
.intro p { margin-bottom: 0; }

/* Card grids */
.cards { display: grid; gap: 80px 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }

.after-cards { margin-top: 50px; text-align: center; }
.cards--home { margin-bottom: 64px; }

/* Split strips: half image, half text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--minh, auto);
}
.split__media { position: relative; overflow: hidden; }
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px var(--side) 50px 50px;
}
.split__text > * { max-width: 486px; width: 100%; }
.split--reverse .split__media { order: 2; }
.split--top .split__text { justify-content: flex-start; }
.split--reverse .split__text { padding: 50px 49px 50px var(--side); }
.split--pad-xl .split__text { padding-top: 264.5px; padding-bottom: 264.5px; }
.split--pad-lg .split__text { padding-top: 184px; padding-bottom: 184px; }

/* Image + text rows inside the content width */
.rows { display: grid; gap: 16px; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.row > div { padding-top: 65px; }
.row img { width: 100%; }

/* White section that follows another white section */
.divider-top { border-top: 1px solid var(--divider); }

/* Testimonial */
.quote { margin-bottom: 15px; }

/* Home call to action with curved top */
.cta { position: relative; }
.cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -21px;
  height: 42px;
  background: var(--accent);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.cta > * { position: relative; }

/* ---------- FAQ accordion ---------- */
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 36px; }

.faq-item { border-bottom: 1px solid var(--divider); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 -15px;
  padding: 13.125px 15px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 {
  margin: 0;
  font-size: 18.8988px;
  line-height: 23.6235px;
}
.faq-icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  margin: -1px 0 0 -6.5px;
  background: #fff;
  transition: transform .2s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 15px 0 30px; }

/* ---------- Contact block ---------- */
.contact-info h2 { margin-bottom: 39px; }
.contact-info p { margin-bottom: 15px; }
.contact-info .gap { margin-top: 25px; }
.contact-info strong { font-weight: 700; }
.contact-info a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  padding: 49.5px 40px;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 21px;
}
.site-footer p { margin: 0; }

/* ---------- Tablet (<=1140px): tighter spacing, menu wraps to two rows ---------- */
@media (max-width: 1140px) {
  .strip { padding: 30px; }
  .heading-200 { font-size: 33.3504px; }
  .heading-130 { font-size: 28.4224px; }
  .heading-100 { font-size: 24.2263px; }
  .heading-85  { font-size: 20.6486px; }
  .faq-item h3 { font-size: 17.5966px; line-height: 1.25; }

  .site-header__inner { height: 140px; padding: 15px; }
  .brand { flex: 0 0 auto; }
  .brand img { width: min(100px, 8.8vw); height: auto; }
  .brand__name { width: 23vw; white-space: normal; }
  .main-nav { flex: 1; margin-left: 14px; }
  .main-nav ul { flex-wrap: wrap; row-gap: 12px; }

  .split { min-height: var(--minh-t, var(--minh, auto)); }
  .split__text, .split--reverse .split__text { padding: 30px; }
  .split__text > * { max-width: none; }
  .split--pad-xl .split__text { padding-top: 244.5px; padding-bottom: 244.5px; }
  .split--pad-lg .split__text { padding-top: 164px; padding-bottom: 164px; }
  .site-footer { padding: 30px; }
}

/* ---------- Hamburger menu (<=800px) ---------- */
@media (max-width: 800px) {
  .site-header__inner { height: 90px; padding: 15px 0; }
  .site-header__inner::before { content: ""; flex: 0 1 44px; min-width: 0; }
  .brand { flex: 1 0 auto; justify-content: center; padding: 0 10px; }
  .brand img { width: 40px; height: 40px; margin-right: 10px; }
  .brand__name { width: auto; white-space: nowrap; font-size: clamp(20px, 7vw, 27px); }
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 90px 0 0;
    z-index: 50;
    margin: 0;
    background: var(--dark);
    overflow-y: auto;
  }
  .menu-open .main-nav { display: block; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { position: fixed; inset: 0 0 auto; z-index: 51; }
  .main-nav ul { flex-direction: column; flex-wrap: nowrap; row-gap: 0; }
  .main-nav li + li { margin: 14px 0 0; }
  .main-nav a {
    padding: 12.5px 15px;
    border: 0;
    text-align: center;
  }
  .main-nav a[aria-current="page"] span { border-bottom: 2px solid var(--accent); }
}

/* ---------- Mobile type sizes (<=768px) ---------- */
@media (max-width: 768px) {
  .heading-200 { font-size: 27.6317px; }
  .heading-130 { font-size: 24.4537px; }
  .heading-100 { font-size: 21.6412px; }
  .heading-85  { font-size: 19.1522px; }
  .faq-item h3 { font-size: 16.9494px; line-height: 21.1868px; }
  .container--narrow { max-width: none; }
}

/* ---------- Stacked layout (<=640px) ---------- */
@media (max-width: 640px) {
  .cards--2, .cards--3 { grid-template-columns: 1fr; gap: 45px; }
  .split, .row { grid-template-columns: 1fr; }
  .split { min-height: 0; }
  .split__media { height: 360px; order: 0 !important; }
  .faq-columns { grid-template-columns: 1fr; gap: 48px; }
  .intro { margin-bottom: 40px; }
  .cards--home { margin-bottom: 25px; }
  .split--roomy .split__text { padding: 55px 30px; }
  .after-cards { margin-top: 35px; }
  .rows { gap: 0; }
  .row > div { padding-top: 44px; }
  .row--text-first { gap: 45px; }
  .row--text-first > div { padding-top: 40px; }
  .site-footer { padding: 30px; }
}
