/* Edge Design Company — matched to live Elementor palette
   Primary navy #1C244B | Secondary #324A6D | Accent gold #D0BD90 | Soft #FFBC7D
*/
:root {
  --navy: #1C244B;
  --navy-mid: #324A6D;
  --gold: #D0BD90;
  --gold-soft: #FFBC7D;
  --surface: #F3F5F8;
  --surface-2: #F9FAFD;
  --muted: #6F7477;
  --line: #C8D5DC;
  --white: #ffffff;
  --ink: #1C244B;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 6px;
  --shadow: 0 8px 28px rgba(28, 36, 75, 0.12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.site-header {
  background: #F7F5F2;
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #E0D9CF;
  box-shadow: 0 1px 3px rgba(28, 36, 75, 0.06);
}
.site-header .header-top-wrap {
  background: #EFEBE4;
  border-bottom: 1px solid #E0D9CF;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.header-top a { color: var(--navy-mid); font-weight: 600; }
.header-top a:hover { color: var(--gold); }
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.logo span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--navy-mid);
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}
.nav a {
  color: var(--navy-mid);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover, .nav a.active { color: var(--navy); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--navy-mid);
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.nav .btn-primary {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--gold);
}
.hero {
  background: linear-gradient(145deg, #1C244B 0%, #324A6D 70%, #4a6a8a 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}
.hero h1 { color: var(--white); max-width: 18ch; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.hero p { text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.hero p { color: #C8D5DC; max-width: 42ch; font-size: 1.05rem; }
.hero .badge {
  display: inline-block;
  background: rgba(208, 189, 144, 0.15);
  color: var(--gold);
  border: 1px solid rgba(208, 189, 144, 0.35);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.section { padding: 3rem 0; }
.section-alt { background: var(--surface); }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.service-card a { color: inherit; display: block; }
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 32px rgba(28, 36, 75, 0.16);
}
.service-card .icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.badge {
  display: inline-block;
  background: rgba(50, 74, 109, 0.1);
  color: var(--navy-mid);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.75rem; }
.callout {
  background: #F9FAFD;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
}
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  margin-bottom: 0.9rem;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.form textarea { min-height: 120px; resize: vertical; }
.g-recaptcha { margin-bottom: 1rem; }
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C8D5DC; max-width: 40ch; margin-inline: auto; }
.cta-band .btn-outline { color: var(--gold); border-color: var(--gold); }
.cta-band .btn-outline:hover { background: var(--gold); color: var(--navy); }
.site-footer {
  background: #1C244B;
  color: #C8D5DC;
  padding: 2.75rem 0 1.25rem;
  font-size: 0.92rem;
}
.site-footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.site-footer a { color: #EAE7E7; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(208, 189, 144, 0.2);
  font-size: 0.82rem;
  color: #6F7477;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.95rem;
}
.testimonial cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--navy-mid);
  font-size: 0.88rem;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 1rem;
  }
  .nav.open { display: flex; }
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .header-top { flex-direction: column; align-items: flex-start; }
}


/* Dropdown nav — hover + click */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-parent .caret {
  font-size: 0.7em;
  opacity: 0.8;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #F7F5F2;
  border: 1px solid #E0D9CF;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(28, 36, 75, 0.14);
  padding: 0.4rem 0;
  z-index: 100;
  margin-top: 0.15rem;
}
.dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--navy-mid) !important;
  font-size: 0.9rem;
  white-space: nowrap;
}
.dropdown a:hover {
  background: #EFEBE4;
  color: var(--navy) !important;
}
/* Hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-dropdown:hover > .dropdown,
  .nav-item.has-dropdown:focus-within > .dropdown {
    display: block;
  }
}
/* Click / touch open */
.nav-item.has-dropdown.open > .dropdown {
  display: block;
}
@media (max-width: 720px) {
  .nav-item {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 0.75rem;
    min-width: 0;
    width: 100%;
  }
  .nav-item.has-dropdown.open > .dropdown {
    display: block;
  }
}

.page-hero-img{width:100%;max-height:320px;object-fit:cover;border-radius:6px;margin:0.75rem 0 1.25rem;}

/* Mobile: show nested dropdown when parent open */
@media (max-width: 720px) {
  .nav.open .nav-item.has-dropdown > .dropdown { display: none; }
  .nav.open .nav-item.has-dropdown.open > .dropdown { display: block; }
}
