/* Siero & Associates — rebuilt static site
   Palette sampled from the 2025 archived site: navy #002D4E, teal #2898B6, light #E6F1F5 */

:root {
  --navy: #002d4e;
  --navy-dark: #001d33;
  --teal: #2898b6;
  --teal-dark: #1f7a94;
  --light: #e6f1f5;
  --ink: #21211f;
  --text: #3a3a3a;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 45, 78, 0.12);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
h1, h2, h3, h4 { font-family: 'Poppins', 'Open Sans', sans-serif; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; color: var(--teal-dark); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--navy-dark); color: var(--light); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: center; align-items: center; padding: 8px 20px; flex-wrap: wrap; gap: 6px; text-align: center; }
.topbar-contact { display: flex; justify-content: center; flex-wrap: wrap; }
.topbar-contact span { margin: 0 18px; }
.topbar-contact a { color: var(--light); }

/* Header / nav */
.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 84px; width: auto; display: block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; }

.main-nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 18px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: .93rem;
  border-radius: var(--radius);
}
.nav-item > a:hover, .nav-item.is-active > a { background: var(--teal); color: var(--white); text-decoration: none; }
.nav-item.has-children > a::after { content: " \25BE"; font-size: .7em; }

.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius);
  padding: 8px; list-style: none; margin: 4px 0 0; z-index: 60;
}
.nav-item.has-children:hover .dropdown,
.nav-item.has-children:focus-within .dropdown { display: block; }
.dropdown li a { display: block; padding: 9px 12px; color: var(--ink); font-size: .9rem; border-radius: 4px; }
.dropdown li a:hover, .dropdown li a.is-active { background: var(--light); color: var(--teal-dark); text-decoration: none; }

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(10, 10, 12, 0.88) 0%, rgba(0, 0, 0, 0.92) 100%),
    url('images/hero-bg.jpg') center 30% / cover no-repeat;
  color: var(--light); padding: 90px 0;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--teal); font-weight: 700; }
.hero h1 { color: var(--white); margin-top: .3em; }
.hero-copy p { color: #cfe3ec; max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 30px; font-weight: 700; font-size: .92rem;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; }
.btn-outline { border-color: var(--teal); color: var(--white); }
.btn-outline:hover { background: var(--teal); text-decoration: none; }

/* Homepage vision statement (replaces the old tri-card row) */
.vision-block {
  margin: 50px auto; max-width: 880px; padding: 40px 36px; text-align: center;
  background: var(--light); border-radius: var(--radius); border-top: 4px solid var(--teal);
}
.vision-block p { font-size: 1.15rem; color: var(--navy); line-height: 1.75; margin: 0; }

.section-block { max-width: var(--maxw); margin: 0 auto; padding: 30px 20px; }
.section-block.alt { background: var(--light); max-width: none; padding: 40px 20px; }
.section-block.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.link-more { font-weight: 700; }

.services-preview {
  padding: 44px 36px 50px; margin: 40px auto 0; background: var(--light); border-radius: var(--radius);
}
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.service-tile {
  background: var(--white); color: var(--navy); padding: 22px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: .92rem; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1px solid #dbe7ec; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.service-tile-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--light);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.service-tile:hover {
  border-color: var(--teal); box-shadow: 0 10px 24px rgba(0, 45, 78, 0.1);
  transform: translateY(-3px); text-decoration: none;
}

/* Inner pages */
.page-main { padding: 44px 20px 60px; }
.content-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 40px; align-items: start; }
.content-main h2:first-child { margin-top: 0; }

.side-card {
  background: var(--light); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px;
}
.side-card h3 { color: var(--navy); font-size: 1.05rem; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li a {
  display: block; padding: 9px 4px; border-bottom: 1px solid rgba(0,45,78,.08); font-size: .92rem; color: var(--ink);
}
.side-list li:last-child a { border-bottom: none; }
.side-list li a:hover { color: var(--teal-dark); text-decoration: none; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.team-card { background: var(--light); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--teal); }
.team-card h3 { margin-bottom: 2px; color: var(--navy); }
.team-role { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }

/* Contact */
.contact-details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-details li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.contact-details .contact-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-details strong { display: block; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.contact-details a { color: var(--text); }
.contact-details a:hover { color: var(--teal-dark); }
.contact-details-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 30px;
}
.contact-details-grid li {
  background: var(--white); border: 1px solid #dbe7ec; border-radius: var(--radius);
  padding: 22px; box-shadow: 0 6px 18px rgba(0, 45, 78, 0.06); transition: box-shadow .15s ease, transform .15s ease;
}
.contact-details-grid li:hover { box-shadow: 0 10px 24px rgba(0, 45, 78, 0.1); transform: translateY(-2px); }

/* Go-to-top button */
.to-top-btn {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: var(--white); border: none; font-size: 1.3rem; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  z-index: 80;
}
.to-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top-btn:hover { background: var(--teal-dark); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b9cbd4; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 46px 20px; }
.footer-col h4 { color: var(--white); font-size: 1.35rem; margin-bottom: 16px; }
.footer-col p { font-size: .88rem; color: #b9cbd4; }
.footer-col a { color: #b9cbd4; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li a { display: block; padding: 3px 0; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 20px; text-align: center; font-size: .8rem; }
.footer-bottom p { margin: 4px 0; color: #b9cbd4; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer-links a { color: #b9cbd4; }
.footer-links a:hover { color: var(--teal); }
.footer-links span { margin: 0 8px; color: #5b7481; }

@media (max-width: 1000px) {
  .contact-details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-inner, .content-grid, .footer-inner { grid-template-columns: 1fr; }
  .contact-details-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    box-shadow: var(--shadow); padding: 10px; max-height: 80vh; overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .dropdown { position: static; box-shadow: none; display: none; margin-top: 4px; }
  .nav-item.has-children.is-open .dropdown { display: block; }
  .side-card { position: static; }
  .brand-logo { height: 56px; }
}
