/*
Theme Name: Hello Elementor Child
Theme URI: https://swr-balustrade.co.uk
Description: Child theme for Hello Elementor — SWR Balustrade. Shoreline brand build.
Author: JJ Digital
Author URI: https://jj-digital.com
Template: hello-elementor
Version: 1.1.0
Text Domain: hello-elementor-child
*/

/* =========================================================================
   SWR BALUSTRADE — SHORELINE BRAND UTILITIES
   v1.1.0 — Body 18px/400, lede 22px, accent 12px
   ========================================================================= */

:root {
  --swr-navy: #1C4863;
  --swr-navy-deep: #143449;
  --swr-navy-soft: #2A5C7A;
  --swr-teal: #16A19C;
  --swr-teal-light: #5BC4BF;
  --swr-teal-dark: #0F8581;
  --swr-sand: #E8DDC9;
  --swr-sand-soft: #F1E9D9;
  --swr-mist: #DDE6E6;
  --swr-chalk: #F4F1EC;
  --swr-white: #FBFAF6;
  --swr-slate-text: #506470;
  --swr-slate-mute: #7B8B93;
  --swr-rule: #D4CDBC;
  --swr-prose: #2E3F4A;
  --swr-success: #2D7259;
}

/* -------------------------------------------------------------------------
   BRAND IDIOM 1 — 3px teal left-border card / panel
   ------------------------------------------------------------------------- */
.swr-bar-left { border-left: 3px solid var(--swr-teal) !important; }
.swr-bar-top  { border-top:  3px solid var(--swr-teal) !important; }

/* -------------------------------------------------------------------------
   BRAND IDIOM 2 — Italic Cormorant em accent
   Drop <em> inside any heading and it picks up this treatment automatically
   ------------------------------------------------------------------------- */
h1 em, h2 em, h3 em, h4 em,
.swr-italic-accent {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  color: var(--swr-teal) !important;
  font-weight: inherit;
}
.swr-on-dark h1 em,
.swr-on-dark h2 em,
.swr-on-dark h3 em,
.swr-on-dark h4 em,
.swr-italic-accent-light {
  color: var(--swr-teal-light) !important;
}

/* -------------------------------------------------------------------------
   BRAND IDIOM 3 — Eyebrow prefix with — line treatment
   ------------------------------------------------------------------------- */
.swr-eyebrow {
  font-family: 'Jost', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--swr-teal) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
}
.swr-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--swr-teal);
  flex-shrink: 0;
}

.swr-eyebrow-center {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--swr-teal) !important;
  margin-bottom: 20px !important;
}
.swr-eyebrow-center::before,
.swr-eyebrow-center::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--swr-teal);
}

.swr-on-dark .swr-eyebrow,
.swr-eyebrow-light { color: var(--swr-teal-light) !important; }
.swr-on-dark .swr-eyebrow::before,
.swr-eyebrow-light::before { background: var(--swr-teal-light); }

/* -------------------------------------------------------------------------
   BRAND IDIOM 4 — Italic Cormorant lede (intro paragraph)
   ------------------------------------------------------------------------- */
.swr-lede {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  line-height: 1.55 !important;
  color: var(--swr-navy-soft) !important;
  letter-spacing: -0.1px !important;
}
.swr-on-dark .swr-lede,
.swr-lede-light { color: rgba(244, 241, 236, 0.85) !important; }

/* -------------------------------------------------------------------------
   BRAND IDIOM 5 — Dark-mode container
   ------------------------------------------------------------------------- */
.swr-on-dark { background: var(--swr-navy); color: var(--swr-chalk); }
.swr-on-dark h1, .swr-on-dark h2, .swr-on-dark h3, .swr-on-dark h4 { color: var(--swr-chalk) !important; }
.swr-on-dark p, .swr-on-dark li { color: rgba(244, 241, 236, 0.85) !important; }
.swr-on-dark a { color: var(--swr-teal-light) !important; }

/* -------------------------------------------------------------------------
   BRAND IDIOM 6 — Button variants
   ------------------------------------------------------------------------- */
.swr-btn-primary {
  background: var(--swr-teal) !important;
  color: var(--swr-white) !important;
  padding: 13px 24px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background 0.2s ease;
}
.swr-btn-primary:hover { background: var(--swr-teal-dark) !important; }
.swr-btn-primary::after { content: ' →'; }

.swr-btn-outline {
  background: transparent !important;
  color: var(--swr-chalk) !important;
  padding: 13px 24px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(244, 241, 236, 0.4) !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.swr-btn-outline:hover {
  border-color: var(--swr-chalk) !important;
  background: rgba(244, 241, 236, 0.06) !important;
}

.swr-btn-outline-dark {
  background: transparent !important;
  color: var(--swr-navy) !important;
  padding: 13px 24px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border: 1px solid var(--swr-navy) !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background 0.2s ease;
}
.swr-btn-outline-dark:hover {
  background: var(--swr-navy) !important;
  color: var(--swr-chalk) !important;
}
.swr-btn-outline-dark::after { content: ' →'; color: var(--swr-teal); }

/* Italic Cormorant link — used inline in headers ("Get an instant quote →") */
.swr-link-quiet {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-size: 16px !important;
  color: var(--swr-navy) !important;
  border-bottom: 1px solid var(--swr-teal) !important;
  padding-bottom: 2px !important;
  text-decoration: none !important;
}
.swr-link-quiet:hover { color: var(--swr-teal) !important; }
.swr-on-dark .swr-link-quiet,
.swr-link-quiet-light {
  color: var(--swr-chalk) !important;
  border-bottom-color: var(--swr-teal-light) !important;
}

/* -------------------------------------------------------------------------
   BRAND IDIOM 7 — Photo placeholder
   ------------------------------------------------------------------------- */
.swr-photo-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(28,72,99,0.05) 0, rgba(28,72,99,0.05) 1px, transparent 1px, transparent 10px),
    var(--swr-sand);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swr-slate-text);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
  min-height: 200px;
}
.swr-photo-placeholder::before {
  content: 'PHOTO';
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--swr-chalk);
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--swr-slate-text);
  border: 1px solid rgba(28,72,99,0.15);
}

/* -------------------------------------------------------------------------
   BRAND IDIOM 8 — Category / type pills
   ------------------------------------------------------------------------- */
.swr-pill-cat {
  display: inline-block;
  background: var(--swr-teal);
  color: var(--swr-white);
  padding: 5px 11px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.swr-pill-mist {
  display: inline-block;
  background: var(--swr-mist);
  color: var(--swr-navy);
  padding: 5px 11px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--swr-rule);
}

.swr-pill-outline {
  display: inline-block;
  background: transparent;
  color: var(--swr-teal);
  padding: 4px 10px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--swr-teal);
}

/* -------------------------------------------------------------------------
   BRAND IDIOM 9 — Rule divider
   ------------------------------------------------------------------------- */
.swr-rule { border: 0; border-top: 1px solid var(--swr-rule); margin: 0; }
.swr-rule-light { border-top-color: rgba(91, 196, 191, 0.2); }

/* -------------------------------------------------------------------------
   BRAND IDIOM 10 — Avatar (italic Cormorant letter mark)
   ------------------------------------------------------------------------- */
.swr-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--swr-mist);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--swr-navy);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--swr-rule);
}
.swr-avatar-lg { width: 54px; height: 54px; font-size: 22px; }

/* -------------------------------------------------------------------------
   BRAND IDIOM 11 — Em-dashed list (bullets become — in teal)
   ------------------------------------------------------------------------- */
.swr-list-dash {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 22px 0 !important;
}
.swr-list-dash li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--swr-prose);
  font-weight: 400;
}
.swr-list-dash li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--swr-teal);
  font-weight: 500;
}
.swr-list-dash li strong { color: var(--swr-navy); font-weight: 500; }

/* -------------------------------------------------------------------------
   BRAND IDIOM 12 — Announce bar (top strip on dark navy)
   ------------------------------------------------------------------------- */
.swr-announce {
  background: var(--swr-navy-deep);
  color: rgba(244, 241, 236, 0.85);
  padding: 10px 0;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.swr-announce a { color: rgba(244, 241, 236, 0.85) !important; text-decoration: none; }
.swr-announce a:hover { color: var(--swr-teal-light) !important; }

/* -------------------------------------------------------------------------
   GLOBAL — Smoothing & focus
   ------------------------------------------------------------------------- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--swr-teal);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   ELEMENTOR — Specific overrides
   ------------------------------------------------------------------------- */
.elementor-sticky--effects {
  box-shadow: 0 2px 16px rgba(28, 72, 99, 0.08);
  transition: box-shadow 0.3s ease;
}
.elementor-button { border-radius: 0 !important; }

/* -------------------------------------------------------------------------
   GRAVITY FORMS — brand styling
   ------------------------------------------------------------------------- */
.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield input[type="number"],
.gform_wrapper .gfield textarea,
.gform_wrapper .gfield select {
  background: var(--swr-white) !important;
  border: 1px solid var(--swr-rule) !important;
  border-radius: 0 !important;
  padding: 14px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 16px !important;
  color: var(--swr-navy) !important;
  transition: border-color 0.2s ease;
}
.gform_wrapper .gfield input:focus,
.gform_wrapper .gfield textarea:focus,
.gform_wrapper .gfield select:focus {
  border-color: var(--swr-teal) !important;
  outline: none !important;
}
.gform_wrapper .gfield label {
  font-family: 'Jost', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--swr-navy) !important;
  margin-bottom: 8px !important;
}
.gform_wrapper .gform_button {
  background: var(--swr-teal) !important;
  color: var(--swr-white) !important;
  padding: 13px 28px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.2s ease;
}
.gform_wrapper .gform_button:hover { background: var(--swr-teal-dark) !important; }

/* -------------------------------------------------------------------------
   RESPONSIVE — Mobile tweaks
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .swr-eyebrow, .swr-eyebrow-center {
    font-size: 10px !important;
    letter-spacing: 2.5px !important;
    gap: 10px !important;
  }
  .swr-eyebrow::before,
  .swr-eyebrow-center::before,
  .swr-eyebrow-center::after { width: 20px; }
  .swr-lede { font-size: 19px !important; }
  .swr-list-dash li { font-size: 17px; }
}
/* ===== SWR Quick Quote — Gravity Forms skin (Shoreline) ===== */

#gform_wrapper_3 .gform_title{display:none;}

#gform_wrapper_3 .ginput_container_radio{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:12px !important;
}
#gform_wrapper_3 .gfield_radio .gchoice{
  position:relative !important;
  margin:0 !important;
}
#gform_wrapper_3 .gfield_radio input{
  position:absolute !important;
  opacity:0 !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  cursor:pointer !important;
}
#gform_wrapper_3 .gfield_radio .gchoice label{
  display:block !important;
  border:1px solid #D4CDBC !important;
  background:#F4F1EC !important;
  padding:16px !important;
  cursor:pointer !important;
  font-family:'Jost',Arial,sans-serif !important;
  font-size:15px !important;
  font-weight:500 !important;
  color:#1C4863 !important;
  transition:border-color .2s,background .2s !important;
  height:100% !important;
  box-sizing:border-box !important;
  line-height:1.4 !important;
}
#gform_wrapper_3 .gfield_radio .gchoice input:checked + label{
  border-color:#16A19C !important;
  border-left:3px solid #16A19C !important;
  background:#E8F7F6 !important;
  color:#1C4863 !important;
}
#gform_wrapper_3 input[type=text],
#gform_wrapper_3 input[type=email],
#gform_wrapper_3 input[type=tel],
#gform_wrapper_3 input[type=number],
#gform_wrapper_3 select{
  border:1px solid #D4CDBC !important;
  border-radius:0 !important;
  padding:13px 14px !important;
  font-family:'Jost',Arial,sans-serif !important;
  font-size:15px !important;
  color:#1C4863 !important;
  background:#FBFAF6 !important;
}
#gform_wrapper_3 select.gfield_select{
  color:#1C4863 !important;
  background-color:#FBFAF6 !important;
  -webkit-appearance:auto !important;
  appearance:auto !important;
  display:block !important;
  width:100% !important;
}
#gform_wrapper_3 select option{
  color:#1C4863;
  background:#FBFAF6;
}
#gform_wrapper_3 .gfield_label{
  font-family:'Jost',Arial,sans-serif !important;
  font-size:11px !important;
  letter-spacing:.15em !important;
  text-transform:uppercase !important;
  color:#1C4863 !important;
  font-weight:500 !important;
}
#gform_wrapper_3 .gform_next_button,
#gform_wrapper_3 .gform_button{
  background:#16A19C !important;
  color:#FBFAF6 !important;
  border:none !important;
  border-radius:0 !important;
  font-family:'Jost',Arial,sans-serif !important;
  font-weight:500 !important;
  font-size:11px !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  padding:14px 26px !important;
  cursor:pointer !important;
}
#gform_wrapper_3 .gform_next_button:hover,
#gform_wrapper_3 .gform_button:hover{
  background:#0F8581 !important;
}
#gform_wrapper_3 .gform_previous_button{
  background:transparent !important;
  color:#1C4863 !important;
  border:1px solid #1C4863 !important;
  border-radius:0 !important;
  font-family:'Jost',Arial,sans-serif !important;
  font-weight:500 !important;
  font-size:11px !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  padding:14px 26px !important;
}
#gform_wrapper_3 .gf_progressbar_percent{
  background-color:#16A19C !important;
  color:#FBFAF6 !important;
}
#gform_wrapper_3 .gf_progressbar{
  background-color:#16A19C !important;
}
@media (max-width:640px){
  #gform_wrapper_3 .ginput_container_radio{grid-template-columns:1fr !important;}
}