/* ==========================================================================
   MARKET 32 & PRICE CHOPPER x COVERRIGHT MEDICARE HELP - DESIGN SYSTEM V2
   (#55B72B Bright Green & #A38F5B Light Brownish / Gold Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --pc-bright-green: #55B72B;   /* PANTONE 368 / Bright Green */
  --pc-green-hover: #459E20;
  --pc-brownish: #A38F5B;       /* PANTONE 7503 / Light Brownish Gold */
  --pc-brownish-hover: #8C7A4B;
  --pc-red: #E31837;             /* PANTONE 185 Red */
  --pc-dark-text: #101828;
  --pc-gray-bg: #F4F6F2;
  --pc-white: #FFFFFF;
  --pc-border: #EAECF0;
  --font-family: 'Trade Gothic', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--pc-dark-text);
  background-color: var(--pc-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Exact Container Max-Width matching CoverRight Wegmans */
.container {
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   CLEAN HEADER BAR (ORIGINAL FULL COLOR LOGOS AS IS)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--pc-white);
  color: var(--pc-dark-text);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--pc-border);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Exact user uploaded logos used AS IS */
.m32-header-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.pc-header-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background-color: #D0D5DD;
}

.logo-coverright {
  display: block;
  height: 26px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.35;
}

.phone-main {
  color: var(--pc-dark-text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.phone-hours {
  color: #667085;
  font-size: 12px;
  font-weight: 400;
}

.btn-header-white {
  background-color: var(--pc-bright-green);
  color: var(--pc-white);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-header-white:hover {
  background-color: var(--pc-green-hover);
  color: var(--pc-white);
  text-decoration: none;
}

.btn-primary-v2 {
  display: inline-block;
  background-color: var(--pc-bright-green);
  color: var(--pc-white);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
}

.btn-primary-v2:hover {
  background-color: var(--pc-green-hover);
  color: var(--pc-white);
  text-decoration: none;
}

.btn-brown-v2 {
  display: inline-block;
  background-color: var(--pc-brownish);
  color: var(--pc-white);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
}

.btn-brown-v2:hover {
  background-color: var(--pc-brownish-hover);
  color: var(--pc-white);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 96px 0 0;
  background: linear-gradient(115deg, transparent 60%, var(--pc-gray-bg) 60%);
  min-height: 596px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: flex-end;
}

.hero-content {
  padding-bottom: 96px;
}

.hero-title {
  font-size: 60px;
  line-height: 72px;
  font-weight: 700;
  color: var(--pc-dark-text);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-dark-text);
  margin-bottom: 32px;
}

.trust-badges-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--pc-dark-text);
}

.trust-badge-item i {
  color: var(--pc-bright-green);
  font-size: 22px;
  flex-shrink: 0;
}

.hero-img-box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-img {
  width: 100%;
  max-width: 540px;
  display: block;
  object-fit: contain;
  object-position: bottom;
  margin: 0 auto;
  position: relative;
  bottom: -4px;
}

/* --------------------------------------------------------------------------
   SECTION 2: 3 VALUE PROPOSITIONS
   -------------------------------------------------------------------------- */
.value-props-section {
  padding: 80px 0;
  background-color: var(--pc-white);
}

.props-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.props-left-headline {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  margin-bottom: 24px;
}

.props-left-sub {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-dark-text);
}

.props-right-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.prop-item-block h4 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--pc-dark-text);
  margin-bottom: 8px;
}

.prop-item-block p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--pc-dark-text);
  margin-bottom: 8px;
}

.text-link {
  color: var(--pc-bright-green);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-color: var(--pc-dark-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.text-link:hover {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   SECTION 3: BRIGHT GREEN CALLOUT BANNER (#55B72B)
   -------------------------------------------------------------------------- */
.green-banner-section {
  background-color: var(--pc-bright-green);
  color: var(--pc-white);
  padding: 80px 0;
  text-align: center;
}

.green-banner-title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--pc-white);
  margin-bottom: 16px;
}

.green-banner-sub {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-white);
  max-width: 1000px;
  margin: 0 auto 32px;
}

/* --------------------------------------------------------------------------
   SECTION 4: PLAN TYPES
   -------------------------------------------------------------------------- */
.plan-types-section {
  padding: 80px 0;
  background-color: var(--pc-white);
}

.plans-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: flex-start;
}

.plans-left-bg {
  background-color: var(--pc-gray-bg);
  border-radius: 24px;
  padding: 32px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-image: url('images/piggy.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.plans-right-content h2 {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  margin-bottom: 24px;
}

.plans-right-content h4 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-dark-text);
  margin-bottom: 32px;
}

.cards-3-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.card-outline-green {
  border: 2px solid var(--pc-bright-green);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  background: var(--pc-white);
  text-decoration: none;
  color: var(--pc-dark-text);
  transition: background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 128px;
  cursor: pointer;
}

.card-outline-green:hover {
  background-color: rgba(85, 183, 43, 0.08);
}

.card-outline-green i {
  color: var(--pc-bright-green);
  font-size: 24px;
  margin-bottom: 8px;
}

.card-outline-green p {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

/* --------------------------------------------------------------------------
   SECTION 5: WHY WORK WITH COVERRIGHT (#A38F5B LIGHT BROWNISH THEME)
   -------------------------------------------------------------------------- */
.why-section {
  background-color: var(--pc-brownish);
  color: var(--pc-white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.why-woman-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.why-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

.why-title {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  color: var(--pc-white);
  margin-bottom: 8px;
}

.why-sub {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.comp-card {
  background: rgba(138, 120, 74, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 32px 24px;
  backdrop-filter: blur(8px);
}

.comp-card.highlight {
  background: rgba(118, 102, 60, 0.85);
  border: 2px solid var(--pc-bright-green);
  border-top-left-radius: 0;
  box-shadow: 0 0 25px rgba(85, 183, 43, 0.4);
  position: relative;
  overflow: visible;
}

.comp-card-badge {
  position: absolute;
  top: -32px;
  left: -2px;
  background: var(--pc-bright-green);
  color: #FFFFFF;
  font-weight: 500;
  padding: 4px 8px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.comp-card-logo {
  display: block;
  width: 138px;
  height: 26px;
  margin-bottom: 24px;
}

.comp-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--pc-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 12px;
}

.comp-list {
  list-style: none;
}

.comp-list li {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pc-white);
}

.comp-card .comp-list li i.fa-xmark {
  color: #FF8A8A;
}

.comp-card.highlight .comp-list li i.fa-check {
  color: #55B72B;
}

/* --------------------------------------------------------------------------
   SECTION 6: ZIP CODE FINDER & TRUSTPILOT
   -------------------------------------------------------------------------- */
.zip-section {
  padding: 80px 0;
  background-color: var(--pc-gray-bg);
}

.zip-section-grid {
  display: flex;
  align-items: stretch;
  gap: 64px;
  min-height: 400px;
}

.zip-section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zip-section-photo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zip-section-photo-inner {
  width: 100%;
  max-width: 604px;
  min-height: 271px;
  height: 100%;
  background-color: var(--pc-white);
  border-radius: 24px;
  background-image: url('/tops-market32/images/review-options-img.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

@media (max-width: 899px) {
  .zip-section-grid {
    flex-direction: column-reverse;
    gap: 40px;
  }
}

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.trustpilot-stars {
  color: #00B67A;
}

.zip-title {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  margin-bottom: 12px;
}

.zip-sub {
  font-size: 24px;
  line-height: 32px;
  color: var(--pc-dark-text);
  margin-bottom: 32px;
}

.zip-form {
  display: flex;
  max-width: 480px;
  gap: 12px;
}

.zip-field-wrap {
  position: relative;
  flex: 1;
}

.zip-input {
  width: 100%;
  padding: 14px 90px 14px 18px;
  border: 2px solid var(--pc-border);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-family);
}

.zip-input:focus {
  border-color: var(--pc-bright-green);
  outline: none;
}

.zip-input.invalid {
  border-color: #dc2626;
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: 13px;
  margin-top: 8px;
}

.field-error.visible {
  display: block;
}

.zip-field-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 130px;
  font-size: 13px;
  color: #475467;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.zip-spinner {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(16, 24, 40, 0.15);
  border-top-color: var(--pc-bright-green);
  border-radius: 50%;
  animation: zip-spin 0.7s linear infinite;
}

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

.zip-county-popover {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--pc-white);
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(16, 24, 40, 0.15);
  padding: 6px;
  z-index: 20;
}

.zip-county-popover.open {
  display: block;
}

.zip-county-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--pc-dark-text);
  cursor: pointer;
}

.zip-county-option:hover {
  background: var(--pc-gray-bg);
}

/* --------------------------------------------------------------------------
   SECTION 7: PRIVACY & SECURITY
   -------------------------------------------------------------------------- */
.privacy-section {
  background-color: var(--pc-white);
  padding: 80px 0;
  text-align: center;
}

.privacy-icon-lg {
  font-size: 64px;
  color: var(--pc-bright-green);
  margin-bottom: 24px;
}

.privacy-section h3 {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--pc-bright-green);
  margin-bottom: 24px;
}

.privacy-section p {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-dark-text);
  max-width: 800px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SECTION 8: WE'RE HERE TO HELP
   -------------------------------------------------------------------------- */
.help-statement-section {
  padding-bottom: 80px;
}

.help-box {
  position: relative;
  overflow: hidden;
  background-color: var(--pc-gray-bg);
  border-radius: 16px;
  padding: 64px;
  background-image: url('/tops-market32/images/here-to-help-img.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}

.help-box-content {
  max-width: 50%;
}

.help-title {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  margin-bottom: 20px;
}

.help-body {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--pc-dark-text);
  margin-bottom: 40px;
}

.help-box-mobile-img {
  display: none;
}

@media (max-width: 899px) {
  .help-box {
    background-image: none;
    padding: 40px 32px 526px;
  }

  .help-box-content {
    max-width: 100%;
  }

  .help-box-mobile-img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 506px;
    height: 506px;
    object-fit: contain;
  }
}

/* --------------------------------------------------------------------------
   SECTION 9: DISCLAIMERS FOOTER (#A38F5B)
   -------------------------------------------------------------------------- */
.disclaimer-footer {
  background-color: var(--pc-brownish);
  color: var(--pc-white);
  padding: 60px 0 36px;
  font-size: 14px;
  line-height: 20px;
}

.disclaimer-title {
  color: var(--pc-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.disclaimer-text p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.copyright-line {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 24px;
  margin-top: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(85, 183, 43, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--pc-white);
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   WHY-SECTION CALL TO ACTION BOX (TRUSTPILOT)
   -------------------------------------------------------------------------- */
.cta-box {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-excellent {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-stars {
  height: 24px;
  margin-bottom: 8px;
}

.cta-reviews {
  color: #FFFFFF;
  font-size: 13px;
  margin-bottom: 8px;
}

.cta-reviews a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cta-trustpilot-logo {
  height: 16px;
}

/* Responsive */
@media (max-width: 1100px) {
  .comparison-grid {
    margin-left: 0;
  }
  .why-woman-img {
    display: none;
  }
  .trust-badges-row {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 992px) {
  .hero-grid, .props-split-grid, .plans-split-grid, .comparison-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 48px;
    line-height: 56px;
  }

  .props-left-headline, .plans-right-content h2, .why-title, .zip-title, .help-title {
    font-size: 36px;
    line-height: 44px;
  }

  .cards-3-row {
    grid-template-columns: 1fr;
  }

  .header-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .header-right {
    flex-direction: column;
    width: 100%;
  }

  .header-phone-stack {
    align-items: center;
  }
}
