/* =====================================================================
   SNOW TECHNOLOGY - BOOK A DEMO PAGE (IRELAND)
   File: /wp-content/uploads/stw/css/book-demo.css
   All rules scoped under .stw-bd so nothing leaks into the theme.
   ===================================================================== */

.stw-bd{
  --navy:#313B5D;--navy-mid:#5A627E;--teal:#4DE6DF;--tint:#DBFAF9;--grey:#ECECEC;
  --line:#D5D8E0;--soft:#4A5270;--on-navy:#DCE0EA;
  font-family:objektiv-mk1,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  color:var(--navy);
  /* Full width: break out of the theme's content column */
  width:100vw;max-width:100vw;
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  overflow-x:hidden;
}
.stw-bd *{box-sizing:border-box;}
.stw-bd a{text-decoration:none;}
.stw-bd .stw-bd-wrap{max-width:1180px;margin:0 auto;padding:0 24px;}
.stw-bd h1,.stw-bd h2,.stw-bd h3{font-family:inherit;letter-spacing:normal;text-transform:none;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

/* ---------- Hero: photo background with navy overlay ---------- */
.stw-bd-hero{
  /* Image shift: raise --stw-bd-bg-shift to move the photo further left */
  --stw-bd-bg-shift:35%;
  position:relative;isolation:isolate;overflow:hidden;
  background-color:var(--navy);
  color:var(--on-navy);padding:56px 0 56px;
}
.stw-bd-hero:before{
  content:"";position:absolute;top:0;bottom:0;right:0;left:calc(var(--stw-bd-bg-shift) * -1);z-index:-2;
  background:url('/wp-content/uploads/2026/11/shutterstock_2628662263-1-scaled.jpg') center/cover no-repeat;
}
.stw-bd-hero:after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(49,59,93,.95) 0%,rgba(49,59,93,.9) 45%,rgba(49,59,93,.8) 70%);
}
.stw-bd-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:start;}
.stw-bd-hero-copy{position:relative;}
.stw-bd-photo{display:none;} /* legacy: image is now the background */

.stw-bd-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;color:#fff;margin-bottom:18px;}
.stw-bd-flag{display:block;width:21px;height:14px;border-radius:2px;flex-shrink:0;}
.stw-bd-hero h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:0 0 16px;color:#fff;font-weight:700;}
.stw-bd-hero p.stw-bd-sub{font-size:18px;line-height:1.5;color:var(--on-navy);margin:0 0 24px;max-width:520px;}
.stw-bd-hero p.stw-bd-sub-m{display:none;}

.stw-bd-hero-cta{margin:0 0 24px;}
.stw-bd-hero a.stw-bd-tour{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.4);border-radius:8px;padding:12px 24px;color:#fff;font-size:15px;font-weight:600;transition:border-color .2s;}
.stw-bd-hero a.stw-bd-tour:hover,.stw-bd-hero a.stw-bd-tour:focus-visible{border-color:var(--teal);color:#fff;}
.stw-bd-tour svg,.stw-bd-btn-tour svg{display:block;width:12px;height:14px;fill:var(--teal);flex-shrink:0;}

.stw-bd-hero .stw-bd-quote{margin:0 0 24px;max-width:560px;padding:18px 20px;background:rgba(255,255,255,.07);border:0;border-left:4px solid var(--teal);border-radius:0 10px 10px 0;}
.stw-bd-hero .stw-bd-quote blockquote{margin:0 0 12px;padding:0;border:0;background:none;font-size:16px;line-height:1.55;font-style:normal;color:#fff;quotes:none;}
.stw-bd-hero .stw-bd-quote blockquote:before,.stw-bd-hero .stw-bd-quote blockquote:after{content:none;}
.stw-bd-hero .stw-bd-quote blockquote strong{color:var(--teal);font-weight:600;}
.stw-bd-hero .stw-bd-quote figcaption{font-size:13px;line-height:1.4;color:var(--on-navy);}
.stw-bd-hero .stw-bd-quote figcaption strong{display:block;font-size:14px;font-weight:700;color:#fff;}

.stw-bd-hero p.stw-bd-rating{font-size:22px;color:var(--on-navy);margin:0 0 18px;}
.stw-bd-hero p.stw-bd-rating strong{color:#fff;}
.stw-bd-trust-row{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px 24px;}
.stw-bd-trust-row li{position:relative;padding-left:24px;font-size:14px;color:var(--on-navy);margin:0;}
.stw-bd-trust-row li:before{content:"\2713";position:absolute;left:0;top:0;color:var(--teal);font-weight:700;}

/* ---------- Form card + Gravity Forms ---------- */
.stw-bd-form-card{background:#fff;color:var(--navy);border-radius:12px;padding:28px;box-shadow:0 20px 50px rgba(0,0,0,.25);scroll-margin-top:120px;}
.stw-bd-form-card h2{font-size:22px;margin:0 0 4px;color:var(--navy);}
.stw-bd-form-card p.stw-bd-form-sub{font-size:14px;color:var(--soft);margin:0 0 20px;}
.stw-bd-form-card p.stw-bd-form-note{font-size:12px;color:var(--soft);margin:12px 0 0;text-align:center;}
.stw-bd-form-card p.stw-bd-form-note a{color:var(--navy);text-decoration:underline;}

.stw-bd-form-card .gform_wrapper{font-family:inherit;margin:0;}
.stw-bd-form-card .gform_wrapper form,
.stw-bd-form-card .gform_wrapper .gform_fields{display:block !important;}
.stw-bd-form-card .gform_wrapper .gfield,
.stw-bd-form-card .gform_wrapper li.gfield{display:block !important;float:none !important;clear:both !important;width:100% !important;max-width:100% !important;grid-column:1 / -1 !important;margin:0 0 16px !important;padding:0 !important;}
.stw-bd-form-card .gform_wrapper .gfield.gform_hidden,
.stw-bd-form-card .gform_wrapper .gfield--type-hidden,
.stw-bd-form-card .gform_wrapper .gfield_visibility_hidden{display:none !important;margin:0 !important;}
.stw-bd-form-card .gform_wrapper .ginput_container{width:100% !important;max-width:100% !important;margin-top:4px;}
.stw-bd-form-card .gform_wrapper .gfield_label,
.stw-bd-form-card .gform_wrapper legend.gfield_label{font-size:13px !important;font-weight:600 !important;color:var(--navy) !important;opacity:1 !important;margin:0 0 4px !important;padding:0 !important;}
.stw-bd-form-card .gform_wrapper input[type="text"],
.stw-bd-form-card .gform_wrapper input[type="email"],
.stw-bd-form-card .gform_wrapper input[type="tel"],
.stw-bd-form-card .gform_wrapper select,
.stw-bd-form-card .gform_wrapper textarea{border:1px solid var(--line) !important;border-radius:6px !important;padding:9px 12px !important;font-size:15px !important;font-family:inherit !important;line-height:28px !important;height:auto !important;min-height:48px !important;width:100% !important;color:var(--navy) !important;opacity:1 !important;background:#fff !important;box-shadow:none !important;overflow:visible;}
.stw-bd-form-card .gform_wrapper input::placeholder,
.stw-bd-form-card .gform_wrapper textarea::placeholder{color:var(--soft);opacity:1;line-height:inherit;font-family:inherit;}
.stw-bd-form-card .gform_wrapper input:focus,
.stw-bd-form-card .gform_wrapper select:focus,
.stw-bd-form-card .gform_wrapper textarea:focus{border-color:var(--teal) !important;outline:2px solid rgba(77,230,223,.35);outline-offset:0;}
.stw-bd-form-card .gform_wrapper .ginput_container_radio,
.stw-bd-form-card .gform_wrapper .ginput_container_checkbox,
.stw-bd-form-card .gform_wrapper .ginput_container_consent{border:none !important;background:none !important;padding:0 !important;}
.stw-bd-form-card .gform_wrapper .gfield_radio,
.stw-bd-form-card .gform_wrapper .gfield_checkbox{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-wrap:wrap;gap:8px 20px;}
.stw-bd-form-card .gform_wrapper .gfield_radio li,
.stw-bd-form-card .gform_wrapper .gfield_checkbox li,
.stw-bd-form-card .gform_wrapper .gchoice{display:flex;align-items:center;gap:6px;margin:0;}
.stw-bd-form-card .gform_wrapper .gfield_radio input,
.stw-bd-form-card .gform_wrapper .gfield_checkbox input,
.stw-bd-form-card .gform_wrapper .ginput_container_consent input{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:var(--navy);}
.stw-bd-form-card .gform_wrapper .ginput_container_consent{display:flex;align-items:flex-start;gap:8px;}
.stw-bd-form-card .gform_wrapper .gchoice label,
.stw-bd-form-card .gform_wrapper .gfield_consent_label,
.stw-bd-form-card .gform_wrapper .gfield_description{font-size:13px !important;color:var(--navy) !important;opacity:1 !important;-webkit-text-fill-color:var(--navy) !important;font-weight:400 !important;margin:0 !important;padding:0 !important;max-width:none !important;}
.stw-bd-form-card .gform_wrapper .gfield_required{color:var(--soft) !important;}
.stw-bd-form-card .gform_wrapper .gform_footer,
.stw-bd-form-card .gform_wrapper .gform_page_footer{margin:8px 0 0 !important;padding:0 !important;border:none;}
.stw-bd-form-card .gform_wrapper .gform_button,
.stw-bd-form-card .gform_wrapper input[type="submit"]{display:block !important;width:100% !important;background:var(--teal) !important;color:var(--navy) !important;font-family:inherit !important;font-weight:700 !important;font-size:16px !important;padding:14px !important;border:none !important;border-radius:8px !important;cursor:pointer;text-align:center;line-height:1.2 !important;}
.stw-bd-form-card .gform_wrapper .gform_button:hover{opacity:.9;}
.stw-bd-form-card .gform_wrapper .gform_validation_errors,
.stw-bd-form-card .gform_wrapper .validation_message{color:#c0392b !important;font-size:13px !important;}
.stw-bd-form-card .gform_confirmation_message{font-size:16px;line-height:1.5;color:var(--navy);padding:16px;background:var(--tint);border-radius:8px;}

/* ---------- Client logos ---------- */
.stw-bd-logos{padding:44px 0;text-align:center;background:#fff;}
.stw-bd-logos h2{font-size:20px;color:var(--navy);margin:0 0 28px;}
.stw-bd-logo-row{display:flex;align-items:center;justify-content:center;gap:28px 44px;flex-wrap:wrap;}
.stw-bd-logo-row img{height:84px;width:auto;max-width:180px;object-fit:contain;filter:grayscale(100%);opacity:.75;}
@media (max-width:1024px){.stw-bd-logo-row img{height:70px;}}

/* ---------- Shared section headings ---------- */
.stw-bd-steps h2,.stw-bd-benefits h2,.stw-bd-testimonials h2,.stw-bd-faq h2{font-size:28px;text-align:center;margin:0 0 8px;color:var(--navy);}
.stw-bd p.stw-bd-kicker{text-align:center;color:var(--soft);font-size:15px;margin:0 0 40px;}

/* ---------- What happens after you book (numbered) ---------- */
.stw-bd-steps{padding:56px 0;background:var(--grey);}
.stw-bd-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:stw-bd-step;}
.stw-bd-step{position:relative;background:#fff;border-radius:10px;padding:56px 24px 24px;counter-increment:stw-bd-step;}
.stw-bd-step:before{content:counter(stw-bd-step);position:absolute;top:20px;left:24px;width:28px;height:28px;border-radius:50%;background:var(--teal);color:var(--navy);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;}
.stw-bd-step h3{font-size:16px;margin:0 0 8px;color:var(--navy);}
.stw-bd-step p{font-size:14px;color:var(--soft);margin:0;line-height:1.5;}

/* ---------- Pick what you want to see ---------- */
.stw-bd-benefits{padding:56px 0;background:var(--tint);}
.stw-bd-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.stw-bd-benefit-card{background:#fff;border-radius:10px;padding:24px;}
.stw-bd-tag{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:700;color:var(--navy);background:var(--tint);border-radius:999px;padding:4px 12px;margin:0 0 12px;}
.stw-bd-benefit-card h3{font-size:16px;margin:0 0 8px;color:var(--navy);}
.stw-bd-benefit-card p{font-size:14px;color:var(--soft);margin:0;line-height:1.5;}

/* ---------- Testimonials ---------- */
.stw-bd-testimonials{padding:56px 0;background:#fff;}
.stw-bd-testimonials h2{margin-bottom:36px;}
.stw-bd-testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.stw-bd-testimonial-card{border:1px solid var(--line);border-radius:10px;padding:24px;}
.stw-bd-testimonial-card p.stw-bd-eyebrow{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--navy);background:var(--tint);border-radius:999px;padding:4px 12px;font-weight:700;margin:0 0 14px;}
.stw-bd-testimonial-card blockquote{margin:0 0 14px;padding:0;border:0;background:none;font-size:15px;line-height:1.5;font-style:normal;color:var(--navy);quotes:none;}
.stw-bd-testimonial-card blockquote:before,.stw-bd-testimonial-card blockquote:after{content:none;}
.stw-bd-testimonial-card cite{font-size:13px;color:var(--soft);font-style:normal;}

/* ---------- FAQ ---------- */
.stw-bd-faq{padding:56px 0;background:var(--grey);}
.stw-bd-faq h2{margin-bottom:28px;}
.stw-bd-faq-list{max-width:820px;margin:0 auto;}
.stw-bd-faq details{background:#fff;border-radius:10px;padding:18px 22px;margin-bottom:12px;}
.stw-bd-faq summary{font-size:16px;font-weight:700;color:var(--navy);cursor:pointer;list-style:none;position:relative;padding-right:28px;}
.stw-bd-faq summary::-webkit-details-marker{display:none;}
.stw-bd-faq summary:after{content:"+";position:absolute;right:0;top:-2px;font-size:22px;color:var(--navy-mid);}
.stw-bd-faq details[open] summary:after{content:"\2013";}
.stw-bd-faq details p{font-size:14px;line-height:1.6;color:var(--soft);margin:12px 0 0;}

/* ---------- Closing CTA band ---------- */
.stw-bd-close{padding:48px 0;text-align:center;background:var(--navy);color:#fff;}
.stw-bd-close h2{font-size:26px;margin:0 0 10px;color:#fff;}
.stw-bd-close p{font-size:15px;color:var(--on-navy);margin:0 0 22px;}
.stw-bd-close-ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.stw-bd-close a.stw-bd-btn-primary{display:inline-block;background:var(--teal);color:var(--navy);font-weight:700;padding:14px 28px;border-radius:8px;font-size:15px;}
.stw-bd-close a.stw-bd-btn-primary:hover{opacity:.9;color:var(--navy);}
.stw-bd-close a.stw-bd-btn-secondary{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.4);color:#fff;font-weight:600;padding:13px 26px;border-radius:8px;font-size:15px;transition:border-color .2s;}
.stw-bd-close a.stw-bd-btn-secondary:hover{border-color:var(--teal);color:#fff;}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  .stw-bd-hero-grid{grid-template-columns:1fr 1fr;gap:32px;}
  .stw-bd-step-grid,.stw-bd-benefit-grid,.stw-bd-testimonial-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:900px){
  .stw-bd-hero-grid{grid-template-columns:1fr;}
  .stw-bd-hero p.stw-bd-sub,.stw-bd-hero .stw-bd-quote{max-width:none;}
}

/* ---------- Mobile: headline, one line and the form only ---------- */
@media (max-width:767px){
  /* No 2560px photo on phones: flat navy gradient loads instantly */
  .stw-bd-hero{padding:24px 0 28px;background-image:linear-gradient(160deg,#313B5D 0%,#3B4670 100%);}
  .stw-bd-hero:before,.stw-bd-hero:after{content:none;}
  .stw-bd .stw-bd-wrap{padding:0 14px;}
  .stw-bd-hero h1{font-size:26px;line-height:1.2;margin-bottom:8px;}
  .stw-bd-hero p.stw-bd-sub-m{display:block;font-size:15px;line-height:1.45;color:var(--on-navy);margin:0 0 18px;}
  .stw-bd-hero-grid{gap:0;}
  .stw-bd-form-card{padding:20px 16px;border-radius:10px;scroll-margin-top:80px;}
  .stw-bd-form-card h2{font-size:20px;}
  .stw-bd-form-card p.stw-bd-form-sub{margin-bottom:14px;}
  /* 16px inputs stop iOS Safari zooming in on focus; 48px tap targets */
  .stw-bd-form-card .gform_wrapper input[type="text"],
  .stw-bd-form-card .gform_wrapper input[type="email"],
  .stw-bd-form-card .gform_wrapper input[type="tel"],
  .stw-bd-form-card .gform_wrapper select,
  .stw-bd-form-card .gform_wrapper textarea{font-size:16px !important;min-height:48px !important;padding:10px 12px !important;}
  .stw-bd-form-card .gform_wrapper .gfield{margin-bottom:14px !important;}
  .stw-bd-form-card .gform_wrapper .gfield_checkbox,
  .stw-bd-form-card .gform_wrapper .gfield_radio{flex-direction:column;gap:0;}
  .stw-bd-form-card .gform_wrapper .gchoice{min-height:40px;}
  .stw-bd-form-card .gform_wrapper .gchoice label{font-size:15px !important;}
  .stw-bd-form-card .gform_wrapper .gfield_checkbox input,
  .stw-bd-form-card .gform_wrapper .gfield_radio input,
  .stw-bd-form-card .gform_wrapper .ginput_container_consent input{width:20px;height:20px;}
  .stw-bd-form-card .gform_wrapper .gform_button,
  .stw-bd-form-card .gform_wrapper input[type="submit"]{min-height:52px;font-size:17px !important;}
  .stw-bd-form-card p.stw-bd-form-note{font-size:13px;line-height:1.5;}
  .stw-bd-form-card p.stw-bd-form-note a[href^="tel:"]{display:inline-block;padding:6px 0;font-weight:700;}
  .stw-bd-badge,
  .stw-bd-hero p.stw-bd-sub,
  .stw-bd-hero-cta,
  .stw-bd-hero .stw-bd-quote,
  .stw-bd-hero p.stw-bd-rating,
  .stw-bd-trust-row,
  .stw-bd-logos,
  .stw-bd-steps,
  .stw-bd-benefits,
  .stw-bd-testimonials,
  .stw-bd-faq,
  .stw-bd-close{display:none !important;}
  .stw-bd-form-card{padding:20px;}
}
