/* Elevated Asset Management - Static Site (GitHub Pages ready) */

:root{
  --brand-navy:#0b2e6b;
  --brand-navy-dark:#08224f;
  --brand-green:#6aa342;
  --brand-green-dark:#5a8e37;
  --brand-green-soft:#eaf3e2;

  --text:#12305f;
  --heading:#0b2e6b;
  --muted:#5f6f85;

  --bg:#ffffff;
  --card:#ffffff;
  --soft:#f3f6fa;
  --alt:#f7f8fa;
  --line:rgba(11,46,107,.12);
  --shadow:0 10px 30px rgba(11,46,107,.10);
  --radius:18px;
  --max:1160px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  line-height: 1.5;
  background: var(--bg);
}

.container{
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__mark{
  width:44px;
  height:44px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-navy));
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.06em;
  font-size:.95rem;
  box-shadow: 0 8px 18px rgba(11,46,107,.18);
}

.brand__name{
  font-size: 1rem;
  color: var(--brand-navy);
}

.nav{
  display:flex;
  align-items:center;
  gap: 16px;
}
.nav a{
  color: var(--brand-navy);
  text-decoration:none;
  font-weight: 650;
  font-size: .95rem;
}
.nav a:hover{ opacity: .85; }

.nav-toggle{
  display:none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width: 20px;
  height: 2px;
  background: var(--brand-navy);
  margin: 4px 0;
}

.mobile-nav{
  border-top: 1px solid var(--line);
  background:#fff;
}
.mobile-nav__inner{
  padding: 14px 0 18px;
  display:grid;
  gap: 10px;
}
.mobile-nav__inner a{
  text-decoration:none;
  color: var(--brand-navy);
  font-weight: 700;
}

/* Sections */
.section{ padding: 80px 0; }
.section--alt{ background: var(--alt); }

.section__header{
  max-width: 760px;
  margin: 0 auto 36px;
  text-align:center;
}
.section__title{
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.section__subtitle{
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.center{ text-align:center; }
.muted{ color: var(--muted); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 750;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .08s ease, opacity .12s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--full{ width:100%; }
.btn--sm{ padding: 10px 12px; font-size:.92rem; }

.btn--primary{
  background: var(--brand-navy);
  color:#fff;
  border-color: var(--brand-navy);
}
.btn--primary:hover{
  background: var(--brand-navy-dark);
  border-color: var(--brand-navy-dark);
}

.btn--ghost{
  background: transparent;
  color: var(--brand-navy);
  border-color: rgba(11,46,107,.22);
}
.btn--ghost:hover{
  background: rgba(11,46,107,.05);
}

.link{
  color: var(--brand-green-dark);
  text-decoration:none;
  border-bottom: 1px solid rgba(106,163,66,.35);
  padding-bottom: 2px;
}
.link:hover{
  color: var(--brand-navy);
  border-bottom-color: rgba(11,46,107,.35);
}

/* Cards / grids */
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card--soft{
  background:#fff;
}
.card__title{
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--heading);
}
.card__text{
  margin: 0 0 12px;
  color: var(--muted);
}

.icon{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: var(--brand-green-soft);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.actions.center{ justify-content:center; }

/* Lists */
.checklist, .bullets{
  margin: 14px 0 0;
  padding-left: 1.1rem;
}
.checklist li, .bullets li{ margin: 8px 0; }
.checklist{ list-style: "✓  "; padding-left: 1.3rem; }
.checklist--tight li{ margin: 6px 0; }

/* Hero */
.hero{
  position: relative;
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11,46,107,.76), rgba(8,34,79,.64)),
    url("images/worcester-hero.svg");
  background-size: cover;
  background-position: center;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.eyebrow{
  font-size: .92rem;
  opacity: .92;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #dbe9ff;
}
.hero__title{
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__subtitle{
  margin: 0 0 18px;
  max-width: 62ch;
  opacity: .95;
  font-size: 1.05rem;
}
.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero__trust{
  margin-top: 10px;
  opacity: .9;
  font-size: .95rem;
  color: #d7e4f8;
}

/* Forms */
.form{ display:grid; gap: 10px; }
.label{
  font-size:.9rem;
  color: rgba(255,255,255,.94);
}
.input, .textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,46,107,.16);
  outline: none;
  background: #fff;
  color: var(--text);
}
.input:focus, .textarea:focus{
  border-color: rgba(106,163,66,.85);
  box-shadow: 0 0 0 3px rgba(106,163,66,.15);
}
.textarea{ resize: vertical; }
.form__note{
  margin: 6px 0 0;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
}
.quickform{
  background: rgba(255,255,255,.98);
  color: var(--text);
}
.quickform .card__title{
  color: var(--brand-navy);
}
.quickform .label{ color: rgba(11,46,107,.88); }
.quickform .form__note{ color: var(--muted); }
.fineprint{
  margin-top: 10px;
  color: var(--muted);
  font-size: .92rem;
}
.fineprint a{
  color: var(--brand-green-dark);
}

/* Split */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.split__image{
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}

/* Services tiles */
.tile{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(11,46,107,.05);
}
.tile__title{
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--heading);
}
.tile__text{
  margin: 0;
  color: var(--muted);
}

/* Steps */
.step{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-green-soft);
  color: var(--brand-navy);
  display:grid;
  place-items:center;
  font-weight: 900;
  margin-bottom: 10px;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}
.contact__details{
  margin-top: 14px;
  padding: 14px;
  background: var(--soft);
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background:#fff;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.footer-links{
  display:flex;
  gap: 14px;
}
.footer-links a{
  text-decoration:none;
  color: var(--brand-navy);
  font-weight: 650;
}
.footer-brand{
  font-weight: 900;
  letter-spacing:-.02em;
  color: var(--brand-navy);
}

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .hero__grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .section{ padding: 64px 0; }
  .hero{ padding: 72px 0; }
}

/* Ensure CTA buttons stay readable inside nav */
.nav a.btn{ color: inherit; }
.nav a.btn--primary{ color:#fff; }
.nav a.btn--ghost{ color: var(--brand-navy); }

/* Map embed */
.map-embed{ width:100%; }
.map-embed iframe{
  width:100%;
  height:420px;
  border:0;
  border-radius: var(--radius);
  display:block;
}

/* Towns list */
.towns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.towns__col{
  margin:0;
  padding-left: 1.1rem;
}
.towns__col li{ margin: 6px 0; }

/* Hero CTA contrast */
.hero .btn--secondary,
.hero a.btn--secondary{
  color: #fff !important;
  border-color: rgba(255,255,255,0.35) !important;
  background: rgba(255,255,255,0.08) !important;
}
.hero .btn--secondary:hover,
.hero a.btn--secondary:hover{
  background: rgba(255,255,255,0.14) !important;
}

/* Ensure header CTA text never inherits dark link color */
.nav .btn--primary,
.nav a.btn--primary{
  color: #fff !important;
}
