/* ============================================================
   Handyman & Associates — page styles
   (dropdown nav, page banners, inner-page components)
   ============================================================ */

i[data-ico="chev"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); font-size: .7em; }
i[data-ico="clock"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
i[data-ico="quote"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 7h4v6a4 4 0 0 1-4 4v-2a2 2 0 0 0 2-2H7zm8 0h4v6a4 4 0 0 1-4 4v-2a2 2 0 0 0 2-2h-2z'/%3E%3C/svg%3E"); }
i[data-ico="rupee"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12M6 8h12M9 4c4 0 6 2 6 5s-2 5-6 5H7l7 6'/%3E%3C/svg%3E"); }
i[data-ico="gift"] { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4'/%3E%3Cpath d='M5 12v9h14v-9M12 8v13M12 8S10 3 7.5 4 9 8 12 8zM12 8s2-5 4.5-4S15 8 12 8z'/%3E%3C/svg%3E"); }

/* ---------- Nav dropdown ---------- */
.nav__drop { position: relative; }
.nav__dropTop {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-weight: 500; font-size: .95rem; color: var(--text);
  border-radius: 8px; cursor: pointer; transition: color .3s; position: relative;
}
.nav__dropTop i { transition: transform .3s var(--ease); }
.nav__drop:hover .nav__dropTop { color: var(--gold-dark); }
.nav__drop:hover .nav__dropTop i { transform: rotate(180deg); }
.nav__drop.is-active > .nav__dropTop { color: var(--gold-dark); }
.nav__menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 220px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .3s var(--ease); z-index: 20;
}
.nav__drop::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav__drop:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--text); transition: .25s; }
.nav__menu a:hover { background: var(--cream); color: var(--gold-dark); padding-left: 20px; }

/* ---------- Page banner ---------- */
.pbanner { position: relative; color: #fff; overflow: hidden; }
.pbanner__bg { position: absolute; inset: 0; background: var(--img) center/cover no-repeat; transform: scale(1.05); }
.pbanner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,9,6,.9), rgba(12,9,6,.62)); }
.pbanner__inner { position: relative; z-index: 2; padding-block: 92px 84px; text-align: center; }
.pbanner h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }
.pbanner h1 em { font-style: italic; color: var(--gold); }
.pbanner p { color: #e6ddd0; max-width: 600px; margin: 16px auto 0; }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .88rem; color: #cfc6b6; }
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--gold); }

/* ---------- Generic section ---------- */
.sec { padding-block: 100px; }
.sec--tint { background: var(--cream); }
.sec--paper { background: var(--paper); }
.sec--dark { background: var(--ink); color: #fff; }
.lead { color: var(--muted); max-width: 720px; }
.sec--dark .lead { color: #b7ae9f; }

/* ---------- About page split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split__body p { color: var(--muted); margin-bottom: 16px; }
.checklist { display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist i { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: .7rem; margin-top: 3px; }

/* ---------- Values ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.val { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 28px; transition: .4s var(--ease); }
.val:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.val__ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--cream-2); color: var(--gold-dark); font-size: 1.5rem; margin-bottom: 18px; }
.val h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; }
.val p { color: var(--muted); font-size: .93rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.tmember { text-align: center; }
.tmember__photo { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/3.4; margin-bottom: 18px; }
.tmember__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tmember:hover .tmember__photo img { transform: scale(1.06); }
.tmember__social { position: absolute; inset: auto 0 -60px 0; display: flex; justify-content: center; gap: 10px; padding: 14px; background: linear-gradient(180deg, transparent, rgba(15,11,6,.85)); transition: bottom .4s var(--ease); }
.tmember:hover .tmember__social { bottom: 0; }
.tmember__social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; transition: .3s; }
.tmember__social a:hover { background: var(--gold); color: var(--ink); }
.tmember h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.tmember span { color: var(--gold-dark); font-size: .88rem; font-weight: 500; }

/* ---------- Service detail rows ---------- */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 60px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.srow:last-child { border-bottom: none; }
.srow:nth-child(even) .srow__media { order: 2; }
.srow__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.srow__no { font-family: var(--serif); font-weight: 800; font-size: 1rem; color: var(--gold-dark); letter-spacing: .1em; }
.srow h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink); margin: 6px 0 14px; }
.srow p { color: var(--muted); margin-bottom: 18px; }
.stags { display: flex; flex-wrap: wrap; gap: 10px; }
.stags span { font-size: .82rem; font-weight: 500; padding: 7px 14px; border-radius: 100px; background: var(--cream-2); color: var(--gold-dark); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__num { font-family: var(--serif); font-weight: 800; font-size: 3rem; color: rgba(201,162,75,.35); line-height: 1; }
.sec--dark .step__num { color: rgba(201,162,75,.4); }
.step h3 { font-family: var(--serif); font-size: 1.25rem; margin: 6px 0 8px; }
.sec:not(.sec--dark) .step h3 { color: var(--ink); }
.step p { color: var(--muted); font-size: .92rem; }
.sec--dark .step p { color: #b7ae9f; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .3s; }
.faq__item.is-open { box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.faq__q i { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-2); color: var(--gold-dark); transition: .35s var(--ease); }
.faq__item.is-open .faq__q i { transform: rotate(180deg); background: var(--gold); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Blog page ---------- */
.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin-bottom: 60px; align-items: stretch; }
.featured__img { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; background: var(--img) center/cover no-repeat; }
.featured__body { display: flex; flex-direction: column; justify-content: center; }
.featured__tag { display: inline-block; align-self: flex-start; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .78rem; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.featured__body h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ink); line-height: 1.2; margin-bottom: 14px; }
.featured__body p { color: var(--muted); margin-bottom: 20px; }
.postmeta { display: flex; gap: 18px; color: var(--muted); font-size: .84rem; margin-bottom: 18px; }
.postmeta span { display: inline-flex; align-items: center; gap: 6px; }
.postmeta i { color: var(--gold-dark); }

/* ---------- Contact page ---------- */
.map { border: 0; width: 100%; height: 420px; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); filter: grayscale(.2) contrast(1.05); }
.contact--page .contact__form { box-shadow: var(--shadow-md); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--ink), var(--charcoal)); color: #fff; border-radius: var(--r-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { color: #cfc6b6; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Refer / franchise ---------- */
.rewardcard { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--ink); border-radius: var(--r-lg); padding: 44px; text-align: center; }
.rewardcard .amt { font-family: var(--serif); font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; }
.rewardcard p { color: rgba(22,18,13,.8); margin-top: 8px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.benefit i { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--cream-2); color: var(--gold-dark); font-size: 1.3rem; }
.benefit h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .split, .featured { grid-template-columns: 1fr; }
  .split__media { max-width: 520px; }
  .vals, .steps, .benefits { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .srow { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .srow:nth-child(even) .srow__media { order: 0; }
}
@media (max-width: 720px) {
  .nav__drop { border-bottom: 1px solid var(--line); }
  .nav__dropTop { padding: 14px 4px; justify-content: space-between; }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 8px 12px; min-width: 0; max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav__drop.is-expanded .nav__menu { max-height: 400px; }
  .nav__drop:hover .nav__menu { max-height: 0; }
  .nav__drop.is-expanded:hover .nav__menu { max-height: 400px; }
  .vals, .steps, .benefits, .team { grid-template-columns: 1fr; }
  .cta-band, .rewardcard { padding: 34px 24px; }
}
