/*
 * SolarTeflon Custom CSS - Cleaned Version
 * Updated: 2025
 * 
 * Changes from original:
 * - Removed duplicate .benefits and .benefit definitions
 * - Removed duplicate .solar-header definition
 * - Unhid .st-alert messages (postal code alerts now visible)
 * - Unhid breadcrumbs (now visible)
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --bg: #f4faf9;
  --card: #ffffff;
  --ink: #0f2730;
  --muted: #506569;
  --primary: #6ba229; /* Green accent */
  --accent: #6ba229;  /* Green */
  --sun: #FECF33;     /* Yellow */
  --coral: #FF7A59;
  --line: #e6f6f4;
  --radius: 14px;
  --max: 1100px;
}

/* ============================================
   ST-WRAP LAYOUT (Provider Directory)
   ============================================ */
.st-wrap {
  max-width: var(--max);
  margin: 24px auto;
  padding: 20px;
  background: linear-gradient(180deg, var(--bg), #fff);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}

/* ============================================
   ST-HERO SECTION
   ============================================ */
.st-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(107,162,41,0.06), rgba(254,207,51,0.05));
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(107,162,41,0.08);
}

.st-hero h1 { 
  margin: 0; 
  color: var(--primary); 
  font-size: clamp(1.25rem, 2.4vw, 1.8rem); 
}

.st-hero p.lead { 
  margin: 8px 0 0; 
  color: var(--muted); 
  font-weight: 600; 
}

.st-hero .kpi { 
  display: flex; 
  gap: 10px; 
  margin-top: 14px; 
  flex-wrap: wrap; 
}

.st-pill { 
  background: #fff; 
  border-radius: 999px; 
  padding: 8px 12px; 
  font-weight: 700; 
  border: 1px solid var(--line); 
  color: var(--primary); 
  box-shadow: 0 6px 18px rgba(16,40,50,0.03); 
}

.st-hero .img { 
  justify-self: end; 
}

.st-hero img { 
  width: 320px; 
  height: auto; 
  border-radius: 10px; 
  border: 6px solid rgba(254,207,51,0.12); 
  box-shadow: 0 12px 30px rgba(107,162,41,0.08); 
}

/* ============================================
   ST-GRID LAYOUT
   ============================================ */
.st-grid { 
  display: grid; 
  grid-template-columns: 360px 1fr; 
  gap: 20px; 
  margin-top: 20px; 
  align-items: start; 
}

@media (max-width: 980px) {
  .st-hero { grid-template-columns: 1fr; }
  .st-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ST-CARD COMPONENTS
   ============================================ */
.st-left { 
  position: relative; 
}

.st-card { 
  background: var(--card); 
  border-radius: 12px; 
  padding: 18px; 
  border: 1px solid var(--line); 
  box-shadow: 0 10px 30px rgba(16,40,50,0.04); 
}

.st-section-title { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin-bottom: 10px; 
}

.dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  background: var(--accent); 
  box-shadow: 0 4px 12px rgba(107,162,41,0.2); 
}

.st-card h2 { 
  margin: 0 0 8px; 
  color: var(--primary); 
  font-size: 1.05rem; 
}

/* ============================================
   STEPS
   ============================================ */
.steps-compact { 
  margin-top: 12px; 
}

.step-compact { 
  display: flex; 
  gap: 12px; 
  align-items: flex-start; 
  padding: 10px; 
  border-radius: 10px; 
  border: 1px dashed var(--line); 
  margin-bottom: 10px; 
}

.step-num { 
  width: 40px; 
  height: 40px; 
  border-radius: 8px; 
  background: var(--primary); 
  color: #fff; 
  display: grid; 
  place-items: center; 
  font-weight: 800; 
}

.st-right h3 { 
  margin-top: 0; 
  color: var(--primary); 
}

.prep-list, 
.after-list { 
  padding-left: 1.1rem; 
  color: var(--muted); 
}

.prep-list li, 
.after-list li { 
  margin: 8px 0; 
}

.step-card { 
  display: grid; 
  grid-template-columns: 100px 1fr; 
  gap: 14px; 
  align-items: start; 
  padding: 16px; 
  border-radius: 12px; 
  border: 1px solid var(--line); 
  background: linear-gradient(180deg, #fff, #fcfffe); 
  margin-bottom: 14px; 
}

.step-card img { 
  width: 100%; 
  height: auto; 
  border-radius: 8px; 
  border: 1px solid var(--line); 
}

.step-card h4 { 
  margin: 0; 
  color: var(--accent); 
  font-size: 1rem; 
}

.step-card p { 
  margin: 6px 0 0; 
  color: var(--muted); 
}

/* ============================================
   AFTERCARE & CTA
   ============================================ */
.aftercare { 
  padding: 12px; 
  border-radius: 10px; 
  border-left: 4px solid var(--sun); 
  background: linear-gradient(180deg, #fff, #fffaf0); 
  color: var(--muted); 
}

.cta { 
  display: inline-block; 
  margin-top: 12px; 
  padding: 10px 16px; 
  background: linear-gradient(135deg, var(--accent), var(--sun)); 
  color: #fff; 
  border-radius: 10px; 
  text-decoration: none; 
  font-weight: 800; 
  border: 2px solid rgba(254,207,51,0.9); 
}

.st-foot { 
  margin-top: 18px; 
  text-align: center; 
  color: var(--muted); 
  font-size: 0.9rem; 
}

/* ============================================
   BREADCRUMBS (Now Visible)
   ============================================ */
.sr-breadcrumb-wrapper,
.sr-breadcrumb-container {
  background: #ffffff !important;
  color: #000 !important;
}

.sr-breadcrumb-wrapper h1,
.sr-breadcrumb-wrapper a {
  color: #1167b1 !important;
}

/* Uncomment below to hide breadcrumbs again if needed:
.sr-breadcrumb-wrapper,
.sr-breadcrumb-container {
  display: none !important;
}
*/

/* ============================================
   SOLAR REFERRAL NETWORK
   ============================================ */
.solar-referral-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.solar-referral-container {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a2a3a, #0d1b2a);
    color: #e0e0e0;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

/* ============================================
   ST-ALERT (Now Visible)
   ============================================ */
/* Alerts are now visible. Uncomment below to hide again if needed:
.st-alert {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
*/

/* ============================================
   SOLAR TEFLON MAIN CONTAINER
   ============================================ */
.solar-teflon-container {
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f4f0 100%);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.solar-teflon-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   LOGO
   ============================================ */
.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
    background: linear-gradient(135deg, #1a3a5f 0%, #2c5a8a 100%);
    border-left: 5px solid #ffd700;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    color: white;
}

.intro-title {
    margin: 0 0 15px;
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffd700;
    text-align: center;
}

.intro-subtitle {
    color: #a8d0ff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.notice-box {
    background: rgba(255, 215, 0, 0.15);
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #ffd700;
}

.notice-text {
    margin: 0;
    font-size: 1.15rem;
    color: #eaeaea;
    font-weight: 500;
    line-height: 1.5;
}

.highlight {
    color: #ffd700;
}

.intro-description {
    color: #cfd3d6;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ============================================
   HEADER
   ============================================ */
.solar-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solar-header h1 {
    color: #1167b1;
    font-size: 2.5rem;
}

.subtitle {
    color: #2aa84a;
    font-size: 1.2rem;
    font-weight: 500;
}

/* ============================================
   SECTION WRAPPER
   ============================================ */
.section-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cleaning-section {
    border-left: 5px solid #d4a500;
}

.kit-section {
    border-left: 5px solid #1167b1;
}

.closing-section {
    border-left: 5px solid #2AA84A;
    text-align: center;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.section-number {
    background: #d4a500;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
}

.kit-icon {
    background: #1167b1;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.section-title {
    color: #d4a500;
    font-size: 1.8rem;
}

.kit-title {
    color: #1167b1;
    font-size: 1.8rem;
}

/* ============================================
   OPTIONS SECTION
   ============================================ */
.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-bottom: 20px;
}

.option-box {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.professional-option {
    border: 2px solid #1167B1;
}

.diy-option {
    border: 2px solid #2AA84A;
}

.option-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkmark {
    color: #2aa84a;
    font-size: 1.5rem;
    margin-right: 10px;
}

.option-title {
    font-size: 1.3rem;
}

.professional-title {
    color: #1167b1;
}

.diy-title {
    color: #2aa84a;
}

.option-description {
    color: #555;
}

.btn {
    background: linear-gradient(135deg, #1167b1, #2aa84a);
    color: white !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(17,103,177,0.3);
}

/* ============================================
   RESIDENTIAL KIT / PRODUCTS
   ============================================ */
.kit-description {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.product-box {
    flex: 1;
    min-width: 280px;
    background: #f8fafc;
    text-align: center;
    padding: 25px;
    border-radius: 12px;
}

.product-image {
    width: 100%;
    max-width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: bold;
}

.wash-title {
    color: #1167b1;
}

.coating-title {
    color: #2aa84a;
}

.product-description {
    font-size: 0.95rem;
    color: #666;
}

.plus-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.plus-icon {
    background: #1167b1;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* ============================================
   BENEFITS (Consolidated - Single Definition)
   ============================================ */
.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.benefit {
    flex: 1;
    min-width: 200px;
    background: #f0f7ff;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
}

.benefit .ic {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--sun));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    margin: 0 auto 10px;
}

.benefit strong,
.benefit-title {
    display: block;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: bold;
}

.benefit p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1167b1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-container {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cta-title {
    font-size: 1.4rem;
    color: #1167b1;
    font-weight: bold;
}

.cta-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.cta-button {
    background: linear-gradient(135deg, #1167B1, #2AA84A);
    color: white !important;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 10px;
}

/* ============================================
   CLOSING SECTION
   ============================================ */
.benefits-title {
    font-size: 1.8rem;
    color: #1167b1;
    margin-bottom: 25px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.benefit-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.benefit-emoji {
    font-size: 2rem;
}

.benefit-text {
    font-weight: bold;
    color: #555;
}

.peace-of-mind {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
}

.closing-image {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .section-number,
    .kit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .products-container,
    .options-container,
    .benefits-grid,
    .benefits {
        flex-direction: column;
    }

    .product-box,
    .option-box,
    .benefit-item,
    .benefit {
        min-width: 100%;
    }

    .product-image {
        max-width: 200px;
    }
}