/*
 * Hajvery Solar Energy | VFD landing-page styles
 * File: /wp-content/themes/hajvery-solar-theme/assets/css/hse-vfds.css
 * Version: 1.0.1 | 14 October 2026
 * Scope: VFD hero, content, brand cards, guide and WhatsApp contact (pricing tables styled by plugin)
 * Brand palette: #13245D. No global WooCommerce or theme overrides.
 */

:root {
  --hse-vfd-navy: #13245d;
  --hse-vfd-ink: #1b2940;
  --hse-vfd-line: #dbe3ef;
  --hse-vfd-pale: #f5f8fd;
  --hse-vfd-white: #fff;
}



/* Hero and main content. These selectors do not change the site-wide header. */
.hse-vfd-hero {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 28px;
  padding: clamp(24px, 4vw, 52px) clamp(18px, 4.5vw, 56px);
  border-radius: 16px;
  background: linear-gradient(120deg, #13245d 0%, #1a377a 100%);
  color: var(--hse-vfd-white);
}
.hse-vfd-hero .hse-vfd-eyebrow {
  margin: 0 0 10px;
  color: #e4ecff;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .04em;
}
.hse-vfd-hero h1 {
  color: #fff !important;
  font-weight: 760;
  font-size: clamp(27px, 3.6vw, 43px);
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.hse-vfd-hero p {
  margin: 0 0 11px;
  color: #f5f8ff;
  font-size: clamp(14px, 1.55vw, 17px);
  line-height: 1.7;
  max-width: 900px;
}
.hse-vfd-hero p:last-child { margin-bottom: 0; }

.hse-vfd-brand-intro,
.hse-vfd-guide,
.hse-vfd-support,
.hse-vfd-faq {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--hse-vfd-ink);
}
.hse-vfd-brand-intro { margin: 0 0 10px; }
.hse-vfd-guide,
.hse-vfd-support,
.hse-vfd-faq { margin-top: 20px; margin-bottom: 18px; }

.hse-vfd-brand-intro h2,
.hse-vfd-guide h2,
.hse-vfd-support h2,
.hse-vfd-faq h2 {
  margin: 26px 0 13px;
  color: var(--hse-vfd-navy) !important;
  font-size: clamp(22px, 2.15vw, 29px);
  font-weight: 740;
  line-height: 1.28;
  letter-spacing: -.013em;
}
.hse-vfd-brand-intro h2 { margin-top: 0; }
.hse-vfd-guide h3,
.hse-vfd-support h3,
.hse-vfd-faq h3 {
  margin: 20px 0 8px;
  color: var(--hse-vfd-navy) !important;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  line-height: 1.38;
}
.hse-vfd-brand-intro p,
.hse-vfd-guide p,
.hse-vfd-support p,
.hse-vfd-faq p,
.hse-vfd-guide li {
  color: var(--hse-vfd-ink);
  font-size: 15px;
  line-height: 1.78;
  margin-bottom: 13px;
}
.hse-vfd-guide ol { padding-left: 24px; margin: 14px 0 18px; }
.hse-vfd-guide li { padding-left: 3px; margin-bottom: 10px; }
.hse-vfd-guide li::marker { color: var(--hse-vfd-navy); font-weight: 700; }
.hse-vfd-brand-intro a,
.hse-vfd-guide a,
.hse-vfd-support a:not(.hse-whatsapp-contact-btn),
.hse-vfd-faq a { color: #1352a3; text-decoration: underline; text-underline-offset: 2px; }
.hse-vfd-brand-intro a:hover,
.hse-vfd-guide a:hover,
.hse-vfd-support a:not(.hse-whatsapp-contact-btn):hover,
.hse-vfd-faq a:hover { color: var(--hse-vfd-navy); }

/* WoodMart category grid scoped to draft Elementor instance.
 * On the original live page, these rules activate only after the new hero
 * has been migrated into it. This avoids styling the untouched live grid.
 */
:is(.elementor-36927, .elementor-31158:has(.hse-vfd-hero)) .elementor-element-861c604 .wd-cats-element { margin: 6px 0 10px; }
:is(.elementor-36927, .elementor-31158:has(.hse-vfd-hero)) .elementor-element-861c604 .wd-cat-inner {
  border: 1px solid var(--hse-vfd-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 12px rgb(20 39 85 / 6%);
  transition: box-shadow .18s ease, transform .18s ease;
}
:is(.elementor-36927, .elementor-31158:has(.hse-vfd-hero)) .elementor-element-861c604 .wd-cat-inner:hover {
  box-shadow: 0 8px 20px rgb(20 39 85 / 12%);
  transform: translateY(-2px);
}
:is(.elementor-36927, .elementor-31158:has(.hse-vfd-hero)) .elementor-element-861c604 .wd-entities-title { overflow-wrap: anywhere; }

/* Technical comparison only. Dynamic price tables are styled by the HSE VFD plugin. */
.hse-vfd-guide-table {
  box-sizing: border-box;
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse;
  border: 1px solid var(--hse-vfd-line);
  border-spacing: 0;
  margin: 13px 0 16px !important;
  font-size: 14px;
}
.hse-vfd-guide-table th {
  width: 50%;
  color: #fff !important;
  background: var(--hse-vfd-navy) !important;
  border: 1px solid #344774;
  padding: 11px 13px !important;
  font-weight: 700;
  vertical-align: middle;
  text-align: left;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.hse-vfd-guide-table td {
  width: 50%;
  border: 1px solid var(--hse-vfd-line);
  background: #fff;
  padding: 10px 13px !important;
  line-height: 1.55;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.hse-vfd-guide-table tbody tr:nth-child(even) td {
  background: var(--hse-vfd-pale);
}

/* WhatsApp contact button: fixed green across normal, hover and active states. */
.hse-vfd-support .hse-whatsapp-contact-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 16px 0 25px;
}
.hse-vfd-support .hse-whatsapp-contact-btn {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
  max-width: 100%;
  width: auto;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 9px;
  background-color: #25D366 !important;
  background-image: none !important;
  box-shadow: 0 3px 10px rgb(37 211 102 / 15%);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  transition: none !important;
  transform: none !important;
}
.hse-vfd-support .hse-whatsapp-contact-btn:hover,
.hse-vfd-support .hse-whatsapp-contact-btn:focus,
.hse-vfd-support .hse-whatsapp-contact-btn:active {
  background-color: #25D366 !important;
  background-image: none !important;
  box-shadow: 0 3px 10px rgb(37 211 102 / 15%);
  color: #fff !important;
  transform: none !important;
  transition: none !important;
}
/* Preserve a visible keyboard focus indicator without hover animations. */
.hse-vfd-support .hse-whatsapp-contact-btn:focus-visible {
  outline: 3px solid #b5f7d0;
  outline-offset: 3px;
}
.hse-vfd-support .hse-wa-brand-logo {
  display: block !important;
  flex: 0 0 28px;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain;
}

@media (max-width: 767px) {
  .hse-vfd-hero { padding: 25px 17px; margin-bottom: 24px; border-radius: 12px; }
  .hse-vfd-hero h1 { font-size: clamp(26px, 7vw, 33px); }
  .hse-vfd-hero p { font-size: 14px; line-height: 1.65; }
  .hse-vfd-brand-intro h2,
  .hse-vfd-guide h2,
  .hse-vfd-support h2,
  .hse-vfd-faq h2 { font-size: 21px; }
  .hse-vfd-brand-intro p,
  .hse-vfd-guide p,
  .hse-vfd-support p,
  .hse-vfd-faq p,
  .hse-vfd-guide li { font-size: 14px; line-height: 1.68; }
  .hse-vfd-guide-table { font-size: 12px !important; }
  .hse-vfd-guide-table th,
  .hse-vfd-guide-table td { padding: 8px 7px !important; }
  .hse-vfd-guide-table td { line-height: 1.45; }
  .hse-vfd-support .hse-whatsapp-contact-btn { width: 100%; font-size: 14px; padding: 12px 11px; }
}
@media (max-width: 359px) {
  .hse-vfd-guide-table { font-size: 11px !important; }
  .hse-vfd-guide-table th,
  .hse-vfd-guide-table td { padding: 7px 5px !important; }
  .hse-vfd-support .hse-whatsapp-contact-btn { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.elementor-36927, .elementor-31158:has(.hse-vfd-hero)) .elementor-element-861c604 .wd-cat-inner { transition: none; }
}
