:root {
  --aep-brand: #518eaa;
  --aep-brand-dark: #3f7288;
  --aep-ink: #333333;
  --aep-muted: #8c8e91;
  --aep-white: #ffffff;
  --aep-max: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }

body.aep-site {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #000000;
  background: var(--aep-white);
}

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

a { color: var(--aep-brand); text-decoration: none; }
a:hover { color: var(--aep-brand-dark); }

.aep-container {
  width: min(100% - 32px, var(--aep-max));
  margin-inline: auto;
}

/* Header */
.aep-header {
  background: var(--aep-white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.aep-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.aep-logo img {
  width: min(234px, 55vw);
  height: auto;
}

.aep-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  color: var(--aep-ink);
}

.aep-nav,
.aep-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.aep-nav a,
.aep-footer-nav a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #000;
}

.aep-nav a:hover,
.aep-footer-nav a:hover {
  color: var(--aep-brand);
}

.aep-nav-facebook a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--aep-brand);
  color: #fff !important;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.aep-nav-facebook a:hover {
  background: var(--aep-brand-dark);
  color: #fff !important;
  transform: scale(1.05);
}

/* Banner strips */
.aep-banner {
  background: var(--aep-brand);
  color: var(--aep-white);
  text-align: center;
  padding: 28px 16px;
}

.aep-banner h1,
.aep-banner h2,
.aep-banner h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 29px;
  text-transform: uppercase;
}

.aep-banner--large h3 {
  font-size: clamp(20px, 3.5vw, 28px);
  max-width: 900px;
  margin-inline: auto;
}

.aep-servicing {
  text-align: center;
  padding: 25px 16px 0;
}

.aep-servicing p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #000;
}

/* Hero image */
.aep-hero img {
  width: 100%;
  object-fit: cover;
}

/* Sections */
.aep-section {
  padding: 50px 0;
}

.aep-section--gray {
  background: #f5f5f5;
}

.aep-section h2 {
  font-family: "Just Another Hand", cursive;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 45px;
  margin: 0 0 20px;
  text-transform: none;
  color: #000;
}

.aep-section h3 {
  font-family: "Just Another Hand", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 33px;
  margin: 0 0 16px;
  text-transform: none;
  color: #000;
}

.aep-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.aep-feature {
  text-align: center;
  padding: 20px;
}

.aep-feature-icon {
  display: block;
  font-size: 70px;
  line-height: 1;
  color: var(--aep-brand);
  margin: 0 auto 20px;
}

.aep-feature h2 {
  margin-bottom: 16px;
}

.aep-feature p {
  margin: 0;
}

.aep-testimonial {
  text-align: center;
  color: var(--aep-brand);
  font-size: 18px;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

.aep-testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
}

/* Contact form */
.aep-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.aep-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.aep-form .required {
  color: #e3494b;
}

.aep-form input,
.aep-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font: inherit;
}

.aep-form textarea {
  min-height: 160px;
  resize: vertical;
}

.aep-form button {
  background: var(--aep-brand);
  color: var(--aep-white);
  border: 0;
  padding: 15px 40px;
  font-family: Oswald, sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.aep-form button:hover {
  background: var(--aep-brand-dark);
}

.aep-notice {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.aep-notice--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.aep-notice--error {
  background: #ffebee;
  color: #c62828;
}

/* Contact details */
.aep-highlight {
  color: var(--aep-brand);
}

.aep-separator {
  width: 100%;
  height: 5px;
  background: var(--aep-brand);
  margin: 0 0 24px;
  border-radius: 2px;
}

.aep-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 48px;
  margin-top: 36px;
  align-items: start;
}

.aep-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aep-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 32px;
}

.aep-contact-box {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px 22px;
  background: #f5f5f5;
  border-left: 4px solid var(--aep-brand);
  border-radius: 6px;
}

.aep-contact-box .fa {
  font-size: 26px;
  color: var(--aep-brand);
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.aep-contact-box h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: none;
}

.aep-contact-box p {
  margin: 0;
  line-height: 1.5;
}

.aep-form-wrap--contact {
  max-width: none;
  margin: 0;
  background: #f9fbfc;
  border: 1px solid #e3edf2;
  border-radius: 8px;
  padding: 28px 28px 20px;
}

.aep-required-note {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--aep-muted);
}

.aep-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.aep-turnstile-wrap {
  margin: 8px 0 16px;
}

.aep-section.aep-section--map {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
  line-height: 0;
}

.aep-section.aep-section--map iframe {
  width: 100%;
  max-width: none;
  height: 400px;
  display: block;
  border: 0;
  border-radius: 0;
}

.aep-contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.aep-contact-details h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: none;
}

.aep-contact-details p {
  margin: 0;
}

/* CTA button */
.aep-cta-section {
  background: var(--aep-brand);
  padding: 50px 0;
  text-align: center;
}

.aep-cta {
  display: inline-block;
  border: 2px solid var(--aep-white);
  color: var(--aep-white);
  padding: 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 5px;
  text-transform: none;
  background: transparent;
  cursor: pointer;
}

.aep-cta:hover {
  background: var(--aep-white);
  color: var(--aep-brand);
}

.aep-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.aep-quote-modal.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.aep-quote-modal.is-showing {
  opacity: 1;
}

.aep-quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 30, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.aep-quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.aep-quote-modal.is-showing .aep-quote-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.aep-quote-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.aep-quote-modal__close:hover {
  background: #e0e0e0;
}

.aep-quote-modal__dialog h2 {
  font-family: "Just Another Hand", cursive;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 36px 12px 0;
  text-transform: none;
}

.aep-quote-modal__intro {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}

.aep-quote-form {
  margin-top: 8px;
}

/* Facebook */
.aep-social {
  text-align: center;
  padding: 30px 0;
}

.aep-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  border: 1px solid var(--aep-white);
  border-radius: 50%;
  background: var(--aep-brand);
  color: var(--aep-white);
  font-size: 24px;
  line-height: 1;
}

.aep-facebook:hover {
  background: var(--aep-brand-dark);
  color: var(--aep-white);
}

/* Footer */
.aep-footer {
  background: #222;
  color: var(--aep-muted);
  padding: 24px 0;
}

.aep-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.aep-footer p {
  margin: 0;
  font-size: 12px;
  text-transform: capitalize;
}

.aep-footer-nav a {
  color: var(--aep-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.aep-footer-nav a:hover {
  color: var(--aep-white);
}

/* About page columns */
.aep-about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.aep-about-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.aep-section--gallery {
  padding-top: 0;
}

.aep-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.aep-gallery a,
.aep-gallery-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  border-radius: 8px;
  background: #eef3f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.aep-gallery-item::after {
  content: "\f00e";
  font-family: FontAwesome;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--aep-white);
  background: rgba(81, 142, 170, 0.72);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.aep-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(81, 142, 170, 0.28);
}

.aep-gallery-item:hover::after {
  opacity: 1;
}

.aep-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.aep-gallery-item:hover img {
  transform: scale(1.08);
}

.aep-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.aep-gallery-lightbox.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.aep-gallery-lightbox.is-showing {
  opacity: 1;
}

.aep-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 30, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.aep-gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.aep-gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.aep-gallery-lightbox__frame {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 88vh;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transform: translateY(16px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.aep-gallery-lightbox.is-showing .aep-gallery-lightbox__frame {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.aep-gallery-lightbox__frame img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 72px);
  object-fit: contain;
  border-radius: 10px;
}

.aep-gallery-lightbox__caption {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aep-brand-dark);
}

body.aep-lightbox-open {
  overflow: hidden;
}

@keyframes aep-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .aep-menu-toggle { display: block; }

  .aep-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--aep-white);
    border-bottom: 1px solid #eee;
    padding: 16px;
  }

  .aep-nav-wrap.is-open { display: block; }

  .aep-nav,
  .aep-footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .aep-grid-2,
  .aep-about-grid,
  .aep-contact-grid,
  .aep-contact-cards,
  .aep-contact-details,
  .aep-gallery {
    grid-template-columns: 1fr;
  }

  .aep-form-wrap--contact {
    padding: 22px 18px 16px;
  }

  .aep-header-inner {
    position: relative;
  }
}
