/* Shared styles for content pages (Edmonton, legal, 404). Extracted from accounting-services.html. */
/* ═══════════════════════════════
   CSS VARIABLES
═══════════════════════════════ */
:root {
  --navy: #1a2e5a;
  --navy-dark: #0f1e3d;
  --green: #2e8b47;
  --green-light: #3aad5a;
  --green-pale: #e8f5ec;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --grey-light: #eef1f6;
  --grey-mid: #c8d0de;
  --ink: #1a2030;
  --text-muted: #6b7a99;
  --gold: #c8922a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--white); }
a { text-decoration: none; }





/* ═══════════════════════════════
   PAGE OFFSET
═══════════════════════════════ */
.page-wrap { padding-top: 108px; }

/* ═══════════════════════════════
   PAGE HERO / BANNER
═══════════════════════════════ */
.service-hero {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding: 72px 6% 68px;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 90%, rgba(46,139,71,0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 10%, rgba(200,146,42,0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* decorative lines */
.service-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--green-light), transparent);
}

.service-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green-light); }
.breadcrumb-sep { opacity: 0.35; }
.breadcrumb-current { color: var(--green-light); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,139,71,0.15);
  border: 1px solid rgba(58,173,90,0.25);
  color: var(--green-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.service-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  max-width: 640px;
  margin-bottom: 18px;
}

.service-hero h1 em {
  font-style: italic;
  color: var(--green-light);
}

.service-hero p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 560px;
  font-weight: 300;
}

/* ═══════════════════════════════
   SERVICES SECTION
═══════════════════════════════ */
.services-section {
  background: var(--off-white);
  padding: 88px 6%;
}

.services-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-subtext {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(26,46,90,0.07);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,46,90,0.1);
  border-color: rgba(46,139,71,0.15);
}

.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s;
}

.service-card:hover .card-icon { background: rgba(46,139,71,0.18); }

.card-icon svg { color: var(--green); }

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.72;
  font-weight: 400;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-pale);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════
   WHY BROADMOOR STRIP
═══════════════════════════════ */
.why-strip {
  background: var(--navy);
  padding: 72px 6%;
}

.why-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-text .section-label { color: var(--green-light); }
.why-text .section-label::before { background: var(--green-light); }

.why-text .section-heading { color: var(--white); }

.why-text .section-subtext {
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-num {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(46,139,71,0.18);
  border: 1px solid rgba(58,173,90,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-light);
  flex-shrink: 0;
}

.why-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.why-item-text span {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  font-weight: 300;
}

/* ═══════════════════════════════
   CONTACT SECTION
═══════════════════════════════ */
.contact-section {
  background: var(--white);
  padding: 96px 6%;
}

.contact-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 56px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}

/* Left: info */
.contact-info {}

.contact-info-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 320px;
}

.contact-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cd-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.cd-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cd-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
}

.cd-value a {
  color: var(--navy);
  transition: color 0.2s;
}

.cd-value a:hover { color: var(--green); }

.contact-hours {
  background: var(--off-white);
  border: 1px solid rgba(26,46,90,0.07);
  border-radius: 12px;
  padding: 20px 22px;
}

.contact-hours h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid rgba(26,46,90,0.06);
  font-weight: 400;
}

.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { font-weight: 500; color: var(--navy); }

/* Right: form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid rgba(26,46,90,0.07);
  border-radius: 20px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(26,46,90,0.12);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-mid); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,139,71,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,139,71,0.25);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,46,90,0.2);
}

.form-disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
  font-weight: 300;
}



/* ═══════════════════════════════
   FAQ SECTION
═══════════════════════════════ */
.faq-section {
  background: var(--white);
  padding: 88px 6%;
}

.faq-inner {
  max-width: 820px;
  margin: 0 auto;
}

.faq-inner .section-label,
.faq-inner .section-heading,
.faq-inner .section-subtext {
  text-align: center;
}

.faq-inner .section-subtext { margin-bottom: 52px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--grey-light);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--grey-light);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
  background: var(--off-white);
  color: var(--green);
}

.faq-item.open .faq-question {
  background: var(--green-pale);
  color: var(--green);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-answer {
  display: none;
  padding: 0 28px 22px;
  background: var(--green-pale);
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.78;
  font-weight: 400;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-book { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .page-wrap { padding-top: 90px; }
  .top-bar-phone,
  .top-bar-address { display: none !important; }
}

/* Drawer address block */
.drawer-address {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-light);
}

.drawer-address-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.drawer-address-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--text-muted);
}

.drawer-address-row a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.drawer-address-row a:hover { color: var(--green); }

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-top { padding: 48px 5% 40px; }
  .footer-bottom { padding: 18px 5%; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { flex-wrap: wrap; gap: 10px; }
  .service-hero { padding: 52px 5% 48px; }
  .services-section, .why-strip, .contact-section { padding: 64px 5%; }
}

/* ═══════════════════════════════
   SUBTLE PAGE ANIMATION
═══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-hero-inner { animation: fadeUp 0.55s ease both; }
.services-grid .service-card { animation: fadeUp 0.5s ease both; }
.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.12s; }
.service-card:nth-child(3) { animation-delay: 0.19s; }
.service-card:nth-child(4) { animation-delay: 0.26s; }
.service-card:nth-child(5) { animation-delay: 0.33s; }
.service-card:nth-child(6) { animation-delay: 0.40s; }
.service-card:nth-child(7) { animation-delay: 0.47s; }
