/* ========================================
   POWERLINE MAINTENANCE — Global Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-green { color: #2d8a4e; }
.text-orange { color: #e8913a; }
.required { color: #d63031; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
}
.btn--primary {
  background: #2d8a4e;
  color: #fff;
  border-color: #2d8a4e;
}
.btn--primary:hover { background: #236b3d; border-color: #236b3d; }
.btn--outline {
  background: transparent;
  color: #2d8a4e;
  border-color: #2d8a4e;
}
.btn--outline:hover { background: #2d8a4e; color: #fff; }
.btn--orange { background: #e8913a; color: #fff; border-color: #e8913a; }
.btn--orange:hover { background: #d07a28; border-color: #d07a28; }
.btn--full { width: 100%; }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; gap: 8px; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.15rem; letter-spacing: .5px; }
.logo__power { color: #2d8a4e; }
.logo__line { color: #e8913a; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: #444;
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #2d8a4e;
  transition: width .25s;
}
.nav__link:hover, .nav__link.active { color: #2d8a4e; }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.header__cta { padding: 10px 24px; font-size: .85rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all .3s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 28px;
  max-width: 500px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__badges { display: flex; gap: 20px; flex-wrap: wrap; }
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: #555;
}
.badge svg { color: #2d8a4e; flex-shrink: 0; }
.hero__image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.hero__image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   STATS
   ======================================== */
.stats {
  background: #2d8a4e;
  padding: 40px 0;
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}
.stat__suffix { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 800; color: #fff; }
.stat__label { display: block; color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 4px; }

/* ========================================
   SERVICES
   ======================================== */
.services { padding: 100px 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: #fdf0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #e8913a;
}
.service-card__icon--green { background: #e8f5ed; color: #2d8a4e; }
.service-card__icon--teal { background: #e0f4f4; color: #0d9488; }
.service-card__icon--blue { background: #dbeafe; color: #3b82f6; }
.service-card__icon--rose { background: #fce4ec; color: #e91e63; }
.service-card__icon--amber { background: #fff3e0; color: #f57c00; }
.service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card__desc { color: #666; font-size: .92rem; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  color: #2d8a4e;
}
.service-card__link:hover { gap: 10px; }

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 100px 0;
  background: #f8f9ff;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__content p { color: #555; margin-bottom: 16px; }
.about__why {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 16px;
}
.about__list { display: flex; flex-direction: column; gap: 12px; }
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: #444;
}
.about__list li svg { flex-shrink: 0; }
.about__image { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.1); }

/* ========================================
   GALLERY
   ======================================== */
.gallery { padding: 100px 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/10;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.6));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay span { color: #fff; font-weight: 600; font-size: .95rem; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #eef1f8 0%, #e8eaf6 100%);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: transform .3s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-card__quote {
  font-size: .95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #2d8a4e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.testimonial-card__name { font-weight: 600; font-size: .95rem; }
.testimonial-card__role { color: #888; font-size: .82rem; }

/* ========================================
   SERVICE AREA
   ======================================== */
.service-area { padding: 100px 0; }
.service-area__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.area-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f8f9ff;
  border-radius: 10px;
  margin-bottom: 12px;
}
.area-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; }
.area-card p { color: #666; font-size: .88rem; margin-top: 2px; }
.service-area__note { margin-top: 20px; font-size: .9rem; color: #666; }
.service-area__note a { color: #2d8a4e; font-weight: 600; }
.service-area__map { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); }

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f2f8 0%, #e8eaf6 100%);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d8a4e;
  box-shadow: 0 0 0 3px rgba(45,138,78,.12);
}
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success svg { color: #2d8a4e; margin-bottom: 16px; }
.form-success h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.form-success p { color: #666; }

.contact-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.contact-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail svg { flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.contact-detail a, .contact-detail span { color: #555; font-size: .9rem; }
.contact-detail a:hover { color: #2d8a4e; }
.contact-detail div { display: flex; flex-direction: column; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; color: #999; }
.footer__col h4 {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: #999; font-size: .9rem; transition: color .2s; }
.footer__col a:hover { color: #2d8a4e; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: #777;
}
.footer__bottom a { color: #777; }
.footer__bottom a:hover { color: #fff; }

/* ========================================
   LANDING PAGE SPECIFIC
   ======================================== */
.landing-hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #1a3a1a 0%, #2d8a4e 100%);
  color: #fff;
  text-align: center;
}
.landing-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.landing-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.landing-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: .9;
}
.landing-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.landing-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  opacity: .85;
}
.landing-benefits {
  padding: 60px 0;
  background: #fff;
}
.landing-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.landing-benefit {
  text-align: center;
  padding: 24px;
}
.landing-benefit__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e8f5ed;
  color: #2d8a4e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.landing-benefit h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.landing-benefit p { color: #666; font-size: .92rem; }
.landing-form-section {
  padding: 60px 0;
  background: #f8f9ff;
}
.landing-form-section__inner {
  max-width: 560px;
  margin: 0 auto;
}
.landing-form-section h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.landing-form-section > .container > p {
  text-align: center;
  color: #666;
  margin-bottom: 32px;
}
.landing-pricing {
  padding: 60px 0;
  background: #fff;
}
.landing-pricing h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.landing-pricing > .container > p {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: border-color .3s, transform .3s;
}
.pricing-card--featured {
  border-color: #2d8a4e;
  position: relative;
}
.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d8a4e;
  color: #fff;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.pricing-card__price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2d8a4e;
  margin-bottom: 4px;
}
.pricing-card__freq { color: #888; font-size: .85rem; margin-bottom: 20px; }
.pricing-card ul { text-align: left; margin-bottom: 24px; }
.pricing-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: .9rem;
  color: #555;
}
.pricing-card li svg { color: #2d8a4e; flex-shrink: 0; }

/* ========================================
   INNER PAGES (service pages, about, etc.)
   ======================================== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero p { color: #555; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.page-content { padding: 80px 0; }
.page-content p { color: #555; margin-bottom: 16px; line-height: 1.8; }
.page-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  margin: 32px 0 12px;
}
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content li { color: #555; margin-bottom: 8px; list-style: disc; }

/* CTA banner */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #2d8a4e, #1a6a3a);
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p { opacity: .9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn--primary { background: #fff; color: #2d8a4e; border-color: #fff; }
.cta-banner .btn--primary:hover { background: #f0f0f0; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero__inner,
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__image { order: -1; }
  .services__grid,
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .service-area__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .landing-benefits__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .nav.open {
    display: block;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .nav.open .nav__list { flex-direction: column; gap: 0; }
  .nav.open .nav__link { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
  .nav.open .nav__list li:last-child .nav__link { border-bottom: none; }

  .hero { padding: 110px 0 60px; }
  .hero__title { font-size: 2rem; }
  .hero__badges { flex-direction: column; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .services__grid,
  .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom .container { flex-direction: column; gap: 8px; text-align: center; }
}
