/* Peony Lion Group LTD - clean CSS fix
   Removes unwanted shadows/ghosting/overlay effects and aligns the page closer to the supplied reference image.
*/

:root {
  --blue: #00489b;
  --deep-blue: #003d91;
  --navy: #061075;
  --gold: #ffb600;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #f7fbff;
}

a { color: inherit; text-decoration: none; }

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

/* Remove all unwanted visual effects */
*,
*::before,
*::after,
img,
h1,
h2,
h3,
p,
a,
span,
input,
textarea,
button {
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* HERO */
.hero {
  min-height: 540px;
  color: var(--white);
  background: url("assets/hero-bg.png") center top / cover no-repeat;
}

.navbar {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 16px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand img {
  width: 330px;
  height: auto;
  background: transparent !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 55px);
  padding-top: 34px;
}

.nav-links a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 0 0 14px;
}

.nav-links a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.menu-toggle { display: none; }

.hero-content {
  width: min(1120px, 92%);
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
}

.hero h1 span { color: var(--gold); }

.gold-line,
.small-line {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0 22px;
}

.hero p {
  max-width: 440px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 400;
}

.hero-logo {
  width: min(430px, 86%);
  justify-self: center;
  background: transparent !important;
}

/* SERVICES */
.services {
  padding: 22px min(6vw, 70px) 22px;
  text-align: center;
  background: #f7fbff;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

.services h2,
.about h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  line-height: 1.15;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.card {
  min-height: 335px;
  padding: 15px 24px 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 60, 145, 0.12);
  border-radius: 8px;
  text-align: left;
}

.card img {
  width: 86px;
  margin: 0 auto 17px;
}

.card h3 {
  text-align: center;
  color: var(--navy);
  font-size: 16px;
  min-height: 38px;
  margin: 0;
}

.card .small-line {
  margin: 12px auto 22px;
  width: 42px;
  height: 3px;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

/* WHY */
.why {
  padding: 14px min(6vw, 70px) 25px;
  color: #ffffff;
  text-align: center;
  background: url("assets/hero-bg.png") center bottom / cover no-repeat;
}

.why-grid {
  width: min(1060px, 100%);
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.why-grid div {
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.55);
}

.why-grid div:last-child { border-right: 0; }

.why-grid span {
  display: block;
  color: var(--gold);
  font-size: 45px;
  line-height: 1;
  margin-bottom: 12px;
}

.why-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 240px;
  background: #f7fbff;
  overflow: hidden;
}

.about-copy {
  padding: 42px 20px 30px min(6vw, 70px);
  background: #f7fbff;
  z-index: 2;
}

.about-copy .eyebrow { text-align: left; }

.about-copy .small-line { margin: 10px 0 20px; }

.about-copy p:last-child {
  max-width: 470px;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 700;
  color: var(--navy);
}

.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOOTER */
.footer {
  position: relative;
  padding: 20px min(6vw, 70px) 24px;
  color: #ffffff;
  background: #00489b;
  display: grid;
  grid-template-columns: 250px 300px 1fr;
  gap: 28px;
  align-items: center;
}

.footer-logo {
  width: 230px;
  height: auto;
  background: transparent !important;
}

.contact-info h2 {
  color: var(--gold);
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.contact-info p {
  margin: 9px 0;
  font-size: 16px;
  color: #ffffff;
}

.contact-form {
  display: grid;
  gap: 7px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

input,
textarea {
  width: 100%;
  padding: 11px 14px;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 0;
  outline: none;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #ffffff;
  opacity: 1;
}

textarea {
  min-height: 40px;
  resize: vertical;
}

button {
  justify-self: end;
  width: min(330px, 100%);
  padding: 10px 18px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  background: transparent;
  border: 2px solid var(--gold);
  cursor: pointer;
}

.footer small {
  position: absolute;
  right: min(6vw,70px);
  bottom: 8px;
  font-size: 10px;
  color: #ffffff;
}

/* MOBILE */
@media (max-width: 820px) {
  .hero-content,
  .about,
  .cards,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 20px;
    margin-top: 28px;
    padding-bottom: 32px;
  }

  .hero-logo {
    order: -1;
    max-width: 310px;
  }

  .navbar { align-items: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #003d91;
    flex-direction: column;
    z-index: 10;
  }

  .nav-open .nav-links { display: flex; }

  .menu-toggle {
    display: block;
    background: transparent;
    border: 0;
    color: white;
    font-size: 30px;
  }

  .brand img { max-width: 72vw; }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .why-grid div:nth-child(2n) { border-right: 0; }

  .footer { text-align: left; }

  .footer small { position: static; }
}

@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }

  .why-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
    padding-bottom: 18px;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero h1 { font-size: 36px; }
}
