/* ============================================================
   Shrisha Hero Widget – shrisha-hero.css
   Matches desktop & mobile design from brand reference images
   ============================================================ */

/* ── Google Font import ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Montserrat:wght@400;600;700;800&display=swap');

/* ════════════════════════════════════════
   1. WRAPPER
════════════════════════════════════════ */
.sh-hero-wrap {
  position: relative;
  width: 100%;
  min-height: 680px;
  background-color: #0d1a4b;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* ════════════════════════════════════════
   2. DTCP BADGE (top-right)
════════════════════════════════════════ */
.sh-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #0d1a4b;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom-left-radius: 8px;
  font-size: 13px;
  z-index: 10;
  min-width: 210px;
}
.sh-badge i {
  font-size: 28px;
  color: #c8a86b;
  flex-shrink: 0;
}
.sh-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.sh-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #c8a86b;
}

/* ════════════════════════════════════════
   3. INNER GRID
════════════════════════════════════════ */
.sh-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex: 1;
  padding: 38px 48px 0;
  position: relative;
  z-index: 2;
}

/* ════════════════════════════════════════
   4. LEFT COLUMN
════════════════════════════════════════ */
.sh-left-col {
  flex: 0 0 auto;
  max-width: 360px;
  padding-top: 10px;
}

/* Logo */
.sh-logo {
  margin-bottom: 20px;
}
.sh-logo img {
  max-width: 180px;
  height: auto;
}

/* Ornamental dividers */
.sh-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: #c8a86b;
}
.sh-ornament::before,
.sh-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c8a86b, transparent);
}
.sh-ornament--top::before,
.sh-ornament--bottom::before { max-width: 60px; }

/* Headline */
.sh-headline {
  font-family: 'Cinzel', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: #c8a86b;
  text-transform: uppercase;
  margin: 0 0 8px;
  white-space: pre-line;
}

/* Sub-headline */
.sh-subheadline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 12px 0 28px;
}

/* ════════════════════════════════════════
   5. FEATURES BOX
════════════════════════════════════════ */
.sh-features-box {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(13, 26, 75, 0.75);
  border: 1.5px solid #c8a86b;
  border-radius: 14px;
  padding: 18px 10px;
  margin-top: 10px;
  backdrop-filter: blur(6px);
}
.sh-feat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  gap: 8px;
  border-right: 1px solid rgba(200, 168, 107, 0.35);
}
.sh-feat-item:last-child { border-right: none; }
.sh-feat-item i {
  font-size: 24px;
  color: #c8a86b;
}
.sh-feat-item span {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: pre-line;
  line-height: 1.4;
}

/* ════════════════════════════════════════
   6. RIGHT COLUMN – FORM CARD
════════════════════════════════════════ */
.sh-right-col {
  flex: 0 0 auto;
  width: 420px;
  align-self: flex-start;
}

.sh-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 26px 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}

/* Form header */
.sh-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.sh-form-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d1a4b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sh-form-icon i {
  color: #fff;
  font-size: 20px;
}
.sh-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0d1a4b;
  letter-spacing: 0.5px;
}
.sh-form-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form ornament */
.sh-form-ornament {
  height: 1px;
  background: linear-gradient(to right, transparent, #c8a86b, transparent);
  margin: 12px 0 16px;
}

/* Fields */
.sh-field {
  margin-bottom: 12px;
}
.sh-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}
.sh-field input,
.sh-field select,
.sh-field textarea {
  width: 100%;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.sh-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.sh-field input:focus,
.sh-field select:focus,
.sh-field textarea:focus {
  border-color: #0d1a4b;
  box-shadow: 0 0 0 3px rgba(13,26,75,0.10);
}
.sh-field textarea {
  resize: vertical;
  min-height: 70px;
}

/* Submit button */
.sh-form-submit {
  width: 100%;
  background: #2d8a4e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Montserrat', sans-serif;
}
.sh-form-submit:hover { background: #246b3e; }
.sh-form-submit:active { transform: scale(0.99); }
.sh-form-submit i { font-size: 16px; }

/* Privacy note */
.sh-form-privacy {
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  text-align: center;
  justify-content: center;
}
.sh-form-privacy i { color: #2d8a4e; }

/* Response messages */
.sh-form-msg {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  min-height: 20px;
  padding: 0 4px;
}
.sh-form-msg.success { color: #2d8a4e; }
.sh-form-msg.error   { color: #c0392b; }

/* ════════════════════════════════════════
   7. TRUST BAR
════════════════════════════════════════ */
.sh-trust-bar {
  background: #0d1a4b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 18px 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.sh-trust-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.sh-trust-item:last-child { border-right: none; }
.sh-trust-item i {
  font-size: 26px;
  color: #c8a86b;
  flex-shrink: 0;
}
.sh-trust-item span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: pre-line;
  line-height: 1.5;
}

/* ════════════════════════════════════════
   8. TABLET  ≤ 1024px
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sh-hero-inner {
    padding: 30px 30px 0;
    gap: 20px;
  }
  .sh-right-col { width: 360px; }
  .sh-headline { font-size: clamp(34px, 5.5vw, 58px); }
}

/* ════════════════════════════════════════
   9. MOBILE  ≤ 767px
════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Badge hidden on mobile (fits in hero header) */
  .sh-badge { display: none; }

  .sh-hero-wrap {
    min-height: auto;
    background-position: center top;
  }

  .sh-hero-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }

  /* Left col: stacked, full-width, hero image above */
  .sh-left-col {
    max-width: 100%;
    padding: 200px 24px 30px; /* big top pad → space for hero image */
    text-align: center;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(13, 26, 75, 0.60) 30%,
      rgba(13, 26, 75, 0.95) 70%,
      #0d1a4b 100%
    );
  }

  .sh-logo { margin-bottom: 14px; }
  .sh-logo img { max-width: 140px; }

  .sh-headline {
    font-size: clamp(38px, 11vw, 60px);
    text-align: center;
  }
  .sh-subheadline {
    font-size: 11px;
    text-align: center;
    margin: 10px auto 22px;
  }

  .sh-features-box {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 10px;
    padding: 14px 8px;
    margin: 0 0 0;
  }
  .sh-feat-item {
    flex: 0 0 48%;
    border-right: none;
    border-bottom: 1px solid rgba(200,168,107,0.25);
    padding: 8px 4px;
  }
  .sh-feat-item:nth-last-child(-n+2) { border-bottom: none; }
  .sh-feat-item span { font-size: 9px; }

  /* Right col: card below hero */
  .sh-right-col {
    width: 100%;
    background: #f5f5f5;
    padding: 0;
  }

  .sh-form-card {
    border-radius: 0;
    box-shadow: none;
    padding: 28px 20px 24px;
  }

  .sh-form-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .sh-trust-bar {
    flex-wrap: wrap;
    padding: 14px 10px;
    gap: 8px;
  }
  .sh-trust-item {
    flex: 0 0 48%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 10px;
  }
  .sh-trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .sh-trust-item i { font-size: 20px; }
  .sh-trust-item span { font-size: 10px; }
}

/* ════════════════════════════════════════
   10. SMALL MOBILE ≤ 480px
════════════════════════════════════════ */
@media (max-width: 480px) {
  .sh-left-col { padding-top: 160px; }
  .sh-headline { font-size: 36px; }
  .sh-feat-item { flex: 0 0 100%; border-bottom: 1px solid rgba(200,168,107,0.2); }
  .sh-feat-item:last-child { border-bottom: none; }
  .sh-form-card { padding: 22px 16px 20px; }
}

/* ════════════════════════════════════════
   11. ELEMENTOR EDITOR overrides
════════════════════════════════════════ */
.elementor-editor-active .sh-hero-wrap {
  min-height: 680px;
}

/* ════════════════════════════════════════
   12. WHATSAPP BUTTON
════════════════════════════════════════ */
.sh-whatsapp-btn {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Montserrat', sans-serif;
}
.sh-whatsapp-btn:hover  { background: #1da851; }
.sh-whatsapp-btn:active { transform: scale(0.99); }
.sh-whatsapp-btn i      { font-size: 18px; }

/* Required star */
.sh-req { color: #e53935; margin-left: 2px; }
