/* Enquiry popup: fits the viewport on every device, never scrolls, no slider */
.tp-popup { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(15,60,30,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; font-family: "Montserrat", Arial, sans-serif; overflow: hidden; }
.tp-popup.open { opacity: 1; visibility: visible; }
.tp-card { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; width: min(820px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(20px) scale(.97); transition: transform .4s cubic-bezier(.2,.7,.2,1); text-align: left; }
.tp-popup.open .tp-card { transform: none; }

.tp-brand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 2vh, 18px); padding: clamp(14px, 4vh, 40px) clamp(16px, 3vw, 32px); text-align: center; color: #fff; background: linear-gradient(160deg, #1f7a3d 0%, #14803f 55%, #0f6a34 100%); }
.tp-brand::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,224,136,.6); pointer-events: none; }
.tp-logo { width: auto; height: clamp(52px, 12vh, 104px); max-width: 80%; object-fit: contain; }
.tp-brand h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.05rem, 2.6vh, 1.5rem); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #ffe088; }
.tp-brand p { margin: 0; font-size: clamp(.74rem, 1.7vh, .92rem); line-height: 1.55; color: rgba(255,255,255,.9); }
.tp-points { display: grid; gap: clamp(4px, 1vh, 8px); margin: 0; padding: 0; list-style: none; font-size: clamp(.68rem, 1.5vh, .8rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.tp-points li::before { content: "\2713"; margin-right: 8px; color: #ffe088; }

.tp-body { display: flex; flex-direction: column; justify-content: center; gap: clamp(6px, 1.4vh, 12px); padding: clamp(16px, 4vh, 36px) clamp(18px, 3vw, 36px); min-width: 0; }
.tp-close { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #1b3022; background: #fff; border: 1px solid rgba(27,48,34,.2); border-radius: 50%; font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease; }
.tp-close:hover { background: #1b3022; color: #fff; }
.tp-eyebrow { margin: 0; color: #a77c1a; font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.tp-body h2 { margin: 0 30px 0 0; color: #1b3022; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.25rem, 3.4vh, 1.8rem); line-height: 1.15; }
.tp-form { display: grid; gap: clamp(6px, 1.3vh, 12px); margin-top: clamp(2px, .6vh, 6px); }
.tp-form label { display: grid; gap: 3px; }
.tp-form label span { color: #735c00; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tp-form input, .tp-form textarea { width: 100%; box-sizing: border-box; padding: clamp(7px, 1.4vh, 11px) 12px; color: #1b3022; background: #fbf9f6; border: 1px solid rgba(27,48,34,.2); border-radius: 2px; font: inherit; font-size: .9rem; outline: none; resize: none; }
.tp-form textarea { height: clamp(44px, 9vh, 72px); }
.tp-form input:focus, .tp-form textarea:focus { border-color: #d4af37; background: #fff; }
.tp-submit { min-height: clamp(40px, 6vh, 48px); color: #fff; background: #1b3022; border: 0; border-radius: 2px; font: inherit; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .25s ease, transform .25s ease; }
.tp-submit:hover { background: #061b0e; transform: translateY(-1px); }
.tp-submit:disabled { opacity: .7; cursor: wait; }
.tp-note { margin: 0; min-height: 1.1em; font-size: .78rem; font-weight: 600; color: #1f7a3d; }
.tp-note.err { color: #b3261e; }

/* Tablet / phone: stack, with a slim logo band on top */
@media (max-width: 700px) {
  .tp-card { grid-template-columns: 1fr; width: min(430px, 100%); }
  .tp-brand { flex-direction: row; justify-content: flex-start; gap: 12px; padding: clamp(8px, 2vh, 14px) 16px; text-align: left; }
  .tp-brand::after { inset: 6px; }
  .tp-logo { height: clamp(36px, 8vh, 56px); max-width: 38%; }
  .tp-brand h3 { font-size: clamp(.85rem, 2.2vh, 1.05rem); }
  .tp-brand p, .tp-points { display: none; }
  .tp-brand h3 { margin-right: 36px; }
  .tp-body { padding: clamp(12px, 2.4vh, 22px) 18px clamp(14px, 2.6vh, 24px); }
  .tp-eyebrow { display: none; }
  .tp-close { top: 6px; right: 6px; background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
  .tp-close:hover { background: #fff; color: #1b3022; }
}
/* Very short screens (landscape phones): tighten further so everything still fits */
@media (max-height: 560px) {
  .tp-card { grid-template-columns: 0.7fr 1.3fr; width: min(720px, 100%); }
  .tp-brand { flex-direction: column; justify-content: center; text-align: center; padding: 10px; }
  .tp-brand p, .tp-points, .tp-eyebrow { display: none; }
  .tp-brand h3 { margin-right: 0; }
  .tp-logo { height: 44px; max-width: 80%; }
  .tp-body { padding: 10px 16px; gap: 4px; }
  .tp-form label span { display: none; }
  .tp-form textarea { height: 34px; }
  .tp-close { background: #fff; color: #1b3022; border-color: rgba(27,48,34,.2); }
}
