/*
Theme Name:   FirstTouch Child
Template:     astra
Author:       FirstTouch Sales
Description:  FirstTouch Sales website (firsttouch.si). Child theme of Astra.
Version:      0.3.0
Text Domain:  first-touch-child
*/

/* ---- Fonts: self-hosted, Latin subset, SIL Open Font License (assets/fonts/OFL-*.txt) ---- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/manrope-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/manrope-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-600-latin.woff2') format('woff2'); }

/* ---- Tokens. The only place a colour value is written. ---- */
:root {
  --ft-primary:      #F2A900;  /* Actions: buttons, CTA bands. Always ink text on it (7.95:1). Never text on light. */
  --ft-primary-dark: #D69500;  /* Hover and pressed state of primary. Ink on it 6.21:1. */
  --ft-ink:          #14213D;  /* Text; dark bands (footer). */
  --ft-secondary:    var(--ft-ink);  /* Links, underlined; the active menu item is underlined. */
  --ft-slate:        #5A6478;  /* Secondary text: notes, meta lines, the quiet login link. */
  --ft-white:        #FFFFFF;  /* Page background. */
  --ft-paper:        #F6F1E7;  /* Alternate section backgrounds; text and headings on ink. */
  --ft-mist:         #C9CFDA;  /* Body text on ink (10.21:1). */
  --ft-line:         #E3E6EC;  /* Borders and dividers on light backgrounds (not for text). */
  --ft-error:        #B42318;  /* Form errors: text and field border on white (6.6:1). */
  --ft-line-on-ink:  rgba(246, 241, 231, 0.16);  /* Dividers on ink: paper at 16%. */
  --ft-shadow:       0 6px 24px rgba(20, 33, 61, 0.08);   /* Card shadow: ink at 8%. */
  --ft-shadow-up:    0 -4px 16px rgba(20, 33, 61, 0.12);  /* Sticky phone bar shadow: ink at 12%. */
  --ft-font-head:    'Manrope', system-ui, sans-serif;  /* Headings, buttons. */
  --ft-font-body:    'Inter', system-ui, sans-serif;    /* Body text. */
  --ft-radius:       14px;
  --ft-max:          1240px;  /* with the 20px gutters, lines up with Astra's 1200px header container */

  /* Astra's own palette, mapped onto the tokens so nothing Astra draws falls back to its blue. */
  --ast-global-color-0: var(--ft-ink);    /* Astra accent: links, menu button */
  --ast-global-color-1: var(--ft-ink);    /* Astra link hover */
  --ast-global-color-2: var(--ft-ink);    /* Astra headings */
  --ast-global-color-3: var(--ft-ink);    /* Astra body text */
  --ast-global-color-4: var(--ft-white);  /* Astra background */
  --ast-global-color-5: var(--ft-white);  /* Astra site background behind its content boxes: white (paper is for our own alternate sections) */
  --ast-global-color-6: var(--ft-ink);
  --ast-global-color-7: var(--ft-line);   /* Astra borders */
  --ast-global-color-8: var(--ft-ink);
}

/* Astra hard-codes #046BD2 for field focus (class-astra-dynamic-css.php ~6247); A01 */
input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type=reset]:focus, input[type="tel"]:focus, input[type="date"]:focus, select:focus, textarea:focus { border-color: var(--ft-ink); color: var(--ft-ink); }

/* ---- Base ---- */
body { font-family: var(--ft-font-body); color: var(--ft-ink); background: var(--ft-white); }
h1, h2, h3, h4 { font-family: var(--ft-font-head); font-weight: 800; color: var(--ft-ink); letter-spacing: -0.01em; }
a { color: var(--ft-secondary); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--ft-secondary); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ft-ink); outline-offset: 2px; }

/* ---- Layout: our templates own the page width (body.ft-layout, inc/setup.php) ---- */
.ft-layout #content > .ast-container { display: block; max-width: none; padding: 0; margin: 0; }
.ft-layout #content { padding: 0; }
.ft-main { display: block; width: 100%; }
.ft-wrap { max-width: var(--ft-max); margin: 0 auto; padding: 0 20px; }
.ft-text { max-width: 68ch; }  /* text column: at most 68 characters */
/* On a .ft-wrap the column stays left-aligned: the wrap keeps the page width, its children the 68ch measure. */
.ft-wrap.ft-text { max-width: var(--ft-max); }
.ft-wrap.ft-text > * { max-width: 68ch; }

/* Sections alternate white and paper. */
.ft-sec { background: var(--ft-white); padding: 72px 0; }
.ft-sec--paper { background: var(--ft-paper); }
.ft-sec--tight { padding: 48px 0; }
.ft-sec--flush { padding-top: 0; }
.ft-sec h2 { font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.15rem); line-height: 1.2; margin: 0 0 16px; }
.ft-sec p, .ft-sec li { font-size: 1.05rem; line-height: 1.65; }
.ft-sec p { margin: 0 0 16px; }
.ft-page-head { padding: 72px 0 40px; }
.ft-page-head h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1.12; margin: 0 0 16px; }
.ft-sec .ft-lede { font-size: 1.2rem; line-height: 1.6; }
.ft-sec .ft-small { font-size: 0.92rem; color: var(--ft-slate); }

/* Text beside an image on desktop; the image under the text on a phone. */
.ft-split { display: grid; gap: 32px; }
@media (min-width: 960px) {
	.ft-split { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: start; }
}

/* Screenshots: a frame with a 1px line border and 8px radius, the caption under it in slate. */
.ft-figure { margin: 0; }
.ft-frame { border: 1px solid var(--ft-line); border-radius: 8px; overflow: hidden; background: var(--ft-white); }
.ft-shot { display: block; width: 100%; max-width: 100%; height: auto; }
.ft-figure figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--ft-slate); }

/* Buttons */
.ft-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7em 1.4em; border-radius: 999px; font-family: var(--ft-font-head); font-weight: 800; line-height: 1.2; text-decoration: none; }
.ft-btn--primary { background: var(--ft-primary); color: var(--ft-ink); }
.ft-btn--primary:hover, .ft-btn--primary:focus-visible { background: var(--ft-primary-dark); color: var(--ft-ink); }
.ft-btn--ghost { border: 2px solid var(--ft-ink); color: var(--ft-ink); background: transparent; }
.ft-btn--ghost:hover, .ft-btn--ghost:focus-visible { color: var(--ft-ink); text-decoration: underline; text-underline-offset: 3px; }
.ft-sec .ft-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }

/* Home hero: text only, left-aligned, the tagline small above the H1. */
.ft-hero { padding: 80px 0 64px; }
.ft-sec .ft-tagline { font-family: var(--ft-font-head); font-weight: 600; font-size: 1rem; color: var(--ft-slate); margin: 0 0 12px; }
.ft-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.14; max-width: 30ch; margin: 0 0 20px; }
.ft-hero .ft-lede { max-width: 60ch; }

/* Lists */
.ft-points { margin: 0 0 16px; padding-left: 1.25em; }
.ft-points li { margin-bottom: 8px; }
.ft-items { list-style: none; margin: 0 0 8px; padding: 0; }
.ft-sec .ft-items li p { margin-bottom: 12px; }
.ft-ways { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 28px; }
.ft-ways li { margin: 0; }
.ft-sec .ft-ways p { margin: 12px 0 0; }
.ft-icon { display: block; width: 28px; height: 28px; color: var(--ft-ink); }
@media (min-width: 600px) { .ft-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ft-ways { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* "Coming next": a separate block on paper, each item with an ink-outlined "Planned" label. */
.ft-next { background: var(--ft-paper); border: 1px solid var(--ft-line); border-radius: 8px; padding: 32px; max-width: 760px; }
.ft-next__list { list-style: none; margin: 8px 0 0; padding: 0; }
.ft-next__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 12px; }
.ft-planned { display: inline-block; padding: 2px 10px; border: 1.5px solid var(--ft-ink); border-radius: 999px; font-size: 0.8rem; font-weight: 600; line-height: 1.5; color: var(--ft-ink); }
.ft-sec .ft-next__more { margin: 16px 0 0; }
.ft-next__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Answers, single answers, topics, legal pages */
.ft-qlist { list-style: none; margin: 0; padding: 0; }
.ft-qlist li { margin: 0; border-bottom: 1px solid var(--ft-line); }
.ft-qlist a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; font-weight: 600; text-decoration: none; }
.ft-qlist a:hover, .ft-qlist a:focus-visible { text-decoration: underline; }
.ft-prose h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.18; margin: 0 0 20px; }
.ft-prose h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.ft-prose ul, .ft-prose ol { margin: 0 0 16px; padding-left: 1.25em; }
.ft-prose li { margin-bottom: 8px; }
.ft-prose code { font-size: 0.92em; background: var(--ft-paper); padding: 1px 5px; border-radius: 4px; }
.ft-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-bottom: 12px; font-size: 0.95rem; }
.ft-crumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.ft-sec .ft-updated { color: var(--ft-slate); font-size: 0.95rem; }

/* Book a demo: the form, and "What happens next" beside it (under it on a phone). */
.ft-page-head--demo { padding-bottom: 32px; }
.ft-demo { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .ft-demo { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.ft-demo__next { background: var(--ft-paper); border: 1px solid var(--ft-line); border-radius: 8px; padding: 28px; }
.ft-sec .ft-demo__next h2 { font-size: 1.35rem; margin: 0 0 12px; }
.ft-steps { margin: 0 0 16px; padding-left: 1.4em; }
.ft-steps li { margin-bottom: 8px; }

/* ---- Walkthrough (A19): the list without JavaScript; the stepper with it ---- */
.ft-wt { margin-top: 24px; }
.ft-wt__list { margin: 0; padding-left: 1.4em; }
.ft-wt__step { margin: 0 0 40px; }
.ft-wt__label { font-size: 1.2rem; margin: 0 0 12px; }
.ft-wt__shots { display: grid; gap: 12px; }
.ft-sec .ft-wt__cap { margin: 12px 0 0; }
.ft-sec .ft-wt__note { margin: 16px 0 0; font-size: 0.92rem; color: var(--ft-slate); }
.ft-sec .ft-wt__cta { margin: 24px 0 0; }

.ft-wt__tabs { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 0 -4px 12px; scrollbar-width: thin; }  /* positioned: walkthrough.js measures step buttons from it */
@media (min-width: 960px) { .ft-wt__tabs { flex-wrap: wrap; overflow: visible; } }
.ft-wt__tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border: 1px solid var(--ft-line); border-radius: 999px; background: var(--ft-white); color: var(--ft-ink); font: 600 0.92rem/1.2 var(--ft-font-body); cursor: pointer; white-space: nowrap; }
.ft-wt__tab:hover, .ft-wt__tab:focus { border-color: var(--ft-ink); background: var(--ft-white); color: var(--ft-ink); }
.ft-wt__tab[aria-current], .ft-wt__tab[aria-current]:hover, .ft-wt__tab[aria-current]:focus { background: var(--ft-ink); border-color: var(--ft-ink); color: var(--ft-white); }
.ft-wt__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 0.8rem; }
.ft-wt__frame { position: relative; aspect-ratio: 16 / 10; background: var(--ft-paper); border: 1px solid var(--ft-line); border-radius: 8px; overflow: hidden; }
/* The screenshots are 16:10 like the frame, so each fills it edge to edge. */
.ft-wt__layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms; }
.ft-wt__layer.is-on { opacity: 1; visibility: visible; }
.ft-wt__layer img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ft-sec .ft-wt__caption { min-height: 3.3em; margin: 14px 0 8px; }
.ft-wt__controls { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-wt__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 6px 16px; border: 1px solid var(--ft-ink); border-radius: 999px; background: var(--ft-white); color: var(--ft-ink); font: 600 0.92rem/1.2 var(--ft-font-body); cursor: pointer; }
.ft-wt__btn:hover, .ft-wt__btn:focus { background: var(--ft-white); color: var(--ft-ink); border-color: var(--ft-ink); text-decoration: underline; }
.ft-wt__btn .ft-icon { width: 18px; height: 18px; }
/* Reduced motion: no fades; step 4 shows both frames, notes above the refined reply. */
.ft-wt.is-reduced .ft-wt__layer { transition: none; }
.ft-wt.is-reduced .ft-wt__frame.is-both { aspect-ratio: auto; display: flex; flex-direction: column; }
.ft-wt.is-reduced .ft-wt__frame.is-both .ft-wt__layer { position: static; aspect-ratio: 16 / 10; }
.ft-wt.is-reduced .ft-wt__frame.is-both .ft-wt__layer.is-on + .ft-wt__layer.is-on { border-top: 1px solid var(--ft-line); }
.ft-wt.is-reduced .ft-wt__frame.is-both .ft-wt__layer:not(.is-on) { display: none; }
@media (prefers-reduced-motion: reduce) { .ft-wt__layer { transition: none; } }

/* ---- Closing CTA band: primary, full width ---- */
.ft-cta-band { background: var(--ft-primary); color: var(--ft-ink); padding: 72px 0; text-align: center; }
.ft-cta-band h2 { color: var(--ft-ink); font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.15rem); margin: 0 0 12px; }
.ft-cta-band p { font-size: 1.1rem; margin: 0 0 20px; }
/* On the primary band the button inverts: ink, with white text. */
.ft-cta-band .ft-btn--primary { background: var(--ft-ink); color: var(--ft-white); }
.ft-cta-band .ft-btn--primary:hover, .ft-cta-band .ft-btn--primary:focus-visible { background: var(--ft-ink); color: var(--ft-white); text-decoration: underline; text-underline-offset: 3px; }
.ft-cta-band :focus-visible { outline-color: var(--ft-ink); }

/* ---- Footer: one ink section with the one-colour logo ---- */
.ft-footer { position: relative; background: var(--ft-ink); color: var(--ft-mist); text-align: left; }
.ft-footer__wrap { padding-top: 48px; padding-bottom: 20px; }
.ft-footer a, .ft-footer__cookies { display: inline-flex; align-items: center; min-height: 44px; color: var(--ft-paper); text-decoration: none; }
.ft-footer a:hover, .ft-footer a:focus-visible, .ft-footer__cookies:hover, .ft-footer__cookies:focus-visible { color: var(--ft-paper); background: none; text-decoration: underline; text-underline-offset: 3px; }
.ft-footer__cookies { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.ft-footer :focus-visible { outline-color: var(--ft-paper); }
.ft-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.ft-footer__word { margin: 0 0 12px; color: var(--ft-paper); font-family: var(--ft-font-head); font-weight: 800; font-size: 1.3rem; }
.ft-footer__tag { margin: 0; color: var(--ft-mist); line-height: 1.5; }
.ft-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ft-footer__col h2 { margin: 0 0 4px; color: var(--ft-paper); font-family: var(--ft-font-head); font-weight: 600; font-size: 0.95rem; }
.ft-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ft-footer__col li { margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 767px) {
	.ft-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Footer bottom bar: copyright, legal links, developer credit ---- */
.ft-footer__bottom { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--ft-line-on-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-size: 0.875rem; }
.ft-footer__copy { margin: 0; color: var(--ft-mist); }
.ft-footer__credit { margin: 0 0 0 auto; color: var(--ft-mist); }
.ft-footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* ---- Scroll-to-top button (Astra): primary, ink arrow ---- */
#ast-scroll-top { background-color: var(--ft-primary); color: var(--ft-ink); border-radius: 999px; }
#ast-scroll-top:hover, #ast-scroll-top:focus-visible { background-color: var(--ft-primary-dark); color: var(--ft-ink); }
#ast-scroll-top svg { fill: currentColor; }
#ast-scroll-top:focus-visible { outline: 3px solid var(--ft-ink); outline-offset: 3px; }

/* ---- Fluent Forms submit button → primary ---- */
.frm-fluent-form .ff-btn-submit,
.ff-btn.ff-btn-submit {
	background-color: var(--ft-primary) !important;
	border-color: var(--ft-primary) !important;
	color: var(--ft-ink) !important;
	border-radius: 999px !important;
	padding: 0.8em 1.6em !important;
	font-family: var(--ft-font-head) !important;
	font-weight: 800 !important;
}
.frm-fluent-form .ff-btn-submit:hover,
.ff-btn.ff-btn-submit:hover {
	background-color: var(--ft-primary-dark) !important;
	border-color: var(--ft-primary-dark) !important;
}

/* ---- Header menu: plain items, the active one underlined ---- */
.main-header-menu .menu-link { color: var(--ft-ink); font-weight: 600; text-decoration: none; }
.main-header-menu .menu-link:hover, .main-header-menu .menu-link:focus-visible { color: var(--ft-ink); text-decoration: underline; text-underline-offset: 3px; }
.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .current_page_item > .menu-link { color: var(--ft-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---- Header CTA: "Book a demo" is the button, login a quiet link ---- */
#masthead .main-header-menu > .ft-nav-demo { display: flex; align-items: center; }
#masthead .main-header-menu > .ft-nav-demo > .menu-link,
#masthead .main-header-menu > .ft-nav-demo.current-menu-item > .menu-link { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-height: 44px; padding: 0 1.4em; line-height: 1.2; border-radius: 999px; background: var(--ft-primary); color: var(--ft-ink); font-family: var(--ft-font-head); font-weight: 800; text-decoration: none; white-space: nowrap; }
#masthead .main-header-menu > .ft-nav-demo > .menu-link:hover,
#masthead .main-header-menu > .ft-nav-demo > .menu-link:focus-visible { background: var(--ft-primary-dark); color: var(--ft-ink); }

/* Desktop: small, muted text link right before the button */
#ast-desktop-header .main-header-menu > .ft-nav-login > .menu-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 500; color: var(--ft-slate); white-space: nowrap; text-decoration: none; }
#ast-desktop-header .main-header-menu > .ft-nav-login > .menu-link:hover,
#ast-desktop-header .main-header-menu > .ft-nav-login > .menu-link:focus-visible { color: var(--ft-ink); text-decoration: underline; }
#ast-desktop-header .main-header-menu > .ft-nav-demo { margin-left: 8px; }

/* Phone menu: full-width button on top, one muted line at the bottom */
#ast-mobile-header .main-header-menu > .ft-nav-demo { padding: 16px 20px 8px; border: 0; }
#ast-mobile-header .main-header-menu > .ft-nav-demo > .menu-link,
#ast-mobile-header .main-header-menu > .ft-nav-demo.current-menu-item > .menu-link { width: 100%; height: 48px; min-height: 48px; border: 0; }
#ast-mobile-header .main-header-menu > .ft-nav-login { border: 0; }
#ast-mobile-header .main-header-menu > .ft-nav-login > .menu-link { display: flex; align-items: center; min-height: 48px; font-size: 0.95rem; font-weight: 500; color: var(--ft-slate); }
/* The open phone menu overlays the page: give its panel a clear lower edge. */
#ast-mobile-header .ast-mobile-header-content { border-bottom: 1px solid var(--ft-line); box-shadow: var(--ft-shadow); }

/* Phone menu button: ink icon on the page background, not Astra's blue */
.ast-mobile-menu-trigger-minimal,
.ast-mobile-menu-trigger-minimal:hover,
.ast-mobile-menu-trigger-minimal:focus { color: var(--ft-ink); background: transparent; border-color: transparent; }
.ast-mobile-menu-trigger-minimal .mobile-menu-toggle-icon .ast-mobile-svg { fill: var(--ft-ink); }
.ast-mobile-header-wrap .menu-toggle { min-width: 44px; min-height: 44px; }

/* Narrow desktop (922-1199px): tighter menu spacing keeps the header on one row */
@media (min-width: 922px) and (max-width: 1199px) {
	#ast-desktop-header .main-header-menu > li > .menu-link { padding: 0 10px; }
	#masthead #ast-desktop-header .main-header-menu > .ft-nav-demo > .menu-link { padding: 0 1.1em; }
}

/* ---- Logo: header 36px tall, capped at 170px wide in Astra's mobile header (921px and below); footer 32px ---- */
.site-title.ft-logo, .site-title.ft-logo a { display: block; line-height: 0; text-decoration: none; }
.site-title.ft-logo a { display: flex; align-items: center; min-height: 44px; }  /* 44px touch target around the logo */
.site-title.ft-logo img { display: block; width: auto; height: 36px; }
.ft-footer__word img { display: block; width: auto; height: 32px; }
@media (max-width: 921px) { .site-title.ft-logo img { height: auto; max-width: 170px; } }

/* ---- Demo form fields (Fluent Forms, inside .ft-form) ---- */
.ft-form .ff-el-group { margin-bottom: 20px; }
.ft-form .ff-el-input--label label { font-weight: 600; color: var(--ft-ink); }
.ft-form .ff-el-form-control { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ft-slate); border-radius: 8px; background: var(--ft-white); color: var(--ft-ink); font: inherit; }  /* slate border: 3:1 against white */
.ft-form textarea.ff-el-form-control { min-height: 132px; }
.ft-form .ff-el-form-control::placeholder { color: var(--ft-slate); opacity: 1; }
.ft-form .ff-el-form-control:focus { outline: 3px solid var(--ft-ink); outline-offset: 1px; border-color: var(--ft-ink); }
.ft-form .ff-el-is-error .ff-el-form-control { border-color: var(--ft-error); }
.ft-form .ff-el-is-error .error { color: var(--ft-error); font-size: 0.9rem; margin-top: 6px; }
.ft-form .ft-form__consent { margin: 0; font-size: 0.95rem; color: var(--ft-ink); }
.ft-form .ft-form__consent a { display: inline-block; padding: 12px 0; }
.ft-form .ff-btn-submit { min-height: 48px; }
.ft-form .ff-message-success { padding: 20px; border: 1px solid var(--ft-line); border-radius: 8px; background: var(--ft-paper); color: var(--ft-ink); box-shadow: none; }
.ft-form .ff-el-is-required.asterisk-right label::after { color: var(--ft-error); }
/* Phones: room under the footer for Astra's scroll-to-top button (the sticky CTA bar sets its own, larger, padding). */
@media (max-width: 767px) { .ft-footer__wrap { padding-bottom: 76px; } }

/* ---- Cookie banner (inc/consent.php): a bar at the bottom that blocks nothing; ink on white, equal buttons ---- */
.ft-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--ft-white); color: var(--ft-ink); border-top: 1px solid var(--ft-ink); box-shadow: var(--ft-shadow-up); }
.ft-consent[hidden] { display: none; }
.ft-consent__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.ft-consent__text { margin: 0; max-width: 68ch; font-size: 0.95rem; line-height: 1.5; color: var(--ft-ink); }
.ft-consent__text a { display: inline-block; padding: 10px 0; color: var(--ft-ink); }
.ft-consent__buttons { display: flex; gap: 12px; }
.ft-consent__btn { min-width: 112px; min-height: 44px; padding: 8px 20px; border: 2px solid var(--ft-ink); border-radius: 999px; background: var(--ft-white); color: var(--ft-ink); font: 600 0.95rem/1.2 var(--ft-font-body); cursor: pointer; }
.ft-consent__btn:hover, .ft-consent__btn:focus { background: var(--ft-ink); color: var(--ft-white); border-color: var(--ft-ink); }
