/* Ductless Brothers — Terms & Conditions page (/terms).
   Reuses the homepage hero background: .db-fi-hero + .db-fi-bg canvas (css/hero-lines.css,
   js/hero-lines.js). Buttons come from .actions in clover-header.css / hero-lines.css.
   The card is .db-terms__box, NOT *__card: dark-theme.css forces any [class*="card"]
   to a solid navy panel with !important. */

/* margin/min-height reset: styles.css's legacy .hero rule adds margin-bottom:100px + min-height:575px */
.db-terms.db-terms{padding:70px 16px 90px;margin:0;min-height:0}
.db-terms__inner{position:relative;z-index:2;max-width:860px;margin:0 auto}

/* Title: inherits the hero h1 size from hero-lines.css (.db-hero2__text h1) */
.db-terms .db-terms__head{max-width:none;text-align:center}
.db-terms .db-terms__head h1{
  margin:0 0 26px;padding:0;text-align:center;
  font-family:Barlow, Inter, sans-serif;font-weight:700;font-style:normal;line-height:1.05;
  color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35),0 4px 22px rgba(0,0,0,.75)}

/* Card */
.db-terms__box{
  background:rgba(14,26,48,.72);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border:1.5px solid rgba(108,196,230,.45);border-radius:22px;
  padding:32px 34px 28px;box-shadow:0 20px 50px rgba(0,0,0,.45);
  text-align:center}
/* !important: dark-theme.css sets p{color:var(--db-muted)!important} */
.db-terms__box p{margin:0 0 16px;font-size:16.5px;line-height:1.7;color:#E5ECF5 !important}
/* !important: dark-theme.css sets strong,b{color:var(--db-text)!important} */
.db-terms__box .db-terms__label{color:#6CC4E6 !important;font-weight:700}
.db-terms__box .db-terms__email{color:#6CC4E6;font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.db-terms__box .db-terms__email:hover{text-decoration:underline}

/* Buttons: same .actions .btn styling + pulse as the hero, centered under the text */
.db-terms .actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:24px}

@media (max-width:600px){
  .db-terms__box{padding:24px 18px}
  .db-terms .actions{flex-direction:column;align-items:stretch}
  .db-terms .actions .btn{justify-content:center}
}
/* Narrow phones: the card's inner width (~304px at 375) is less than the hero's
   19px "Call Now" button (317px), so trim only the side padding — text size unchanged. */
@media (max-width:400px){
  .db-terms .actions .btn{padding-left:8px;padding-right:8px}
}
/* Phones narrower than 375px: the hero's 19px text can't fit inside the card at all. */
@media (max-width:374px){ .db-terms .actions .btn{font-size:17px} }
@media (max-width:340px){ .db-terms .actions .btn{font-size:15px} }
