/* Freshline & Shine — shared styles for the Concierge chat widget and the inner pages
   (enquiry, privacy, terms, cookies). Warm white and logo sage, tomato for quote actions, 2026-11. */
:root{
  --fc-sand:#F1F5EE; --fc-sand-2:#E6EDE1; --fc-cream:#FFFFFF; --fc-brand-soft:#E6EDE1;
  --fc-brand:#3E5A42; --fc-brand-d:#2E4532; --fc-ink:#1F2A22; --fc-ink-2:#4D5850; --fc-line:#D5DDD0;
  --fc-cta:#C9402B; --fc-cta-d:#A8321F;  /* tomato: quote actions only */
  --fc-display:"Fraunces",Georgia,"Times New Roman",serif;
  --fc-sans:"Figtree",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

/* ---------------- Concierge widget ---------------- */
#freshline-concierge { position:fixed; right:20px; bottom:max(20px,env(safe-area-inset-bottom)); z-index:10000; font:15px/1.5 var(--fc-sans); color:var(--fc-ink); }
#freshline-concierge * { box-sizing:border-box; }
#freshline-concierge button,#freshline-concierge input { font:inherit; }
#freshline-concierge button { cursor:pointer; }
#freshline-concierge .fc-launch { border:1px solid var(--fc-line); border-radius:32px; padding:12px 20px 12px 16px; background:#fff; color:var(--fc-ink); box-shadow:0 14px 34px -16px rgba(31,42,34,.4); display:flex; gap:10px; align-items:center; }
#freshline-concierge .fc-launch>span[aria-hidden] { color:var(--fc-brand); font-size:18px; }
#freshline-concierge .fc-launch small { display:block; text-align:left; font-size:10px; letter-spacing:.12em; color:var(--fc-ink-2); }
#freshline-concierge .fc-panel { width:370px; max-width:calc(100vw - 24px); height: min(620px,calc(100dvh - 125px)); background:var(--fc-cream); border:1px solid var(--fc-line); border-radius:22px; overflow:hidden; box-shadow:0 24px 60px -20px rgba(31,42,34,.35); display:flex; flex-direction:column; margin-bottom:12px; }
#freshline-concierge [hidden] { display:none!important; }
#freshline-concierge .fc-head { background:var(--fc-brand); color:#fff; padding:18px; display:flex; justify-content:space-between; align-items:center; }
#freshline-concierge .fc-head strong { display:block; font-family:var(--fc-display); font-weight:600; font-size:19px; letter-spacing:-.01em; }
#freshline-concierge .fc-head button { background:transparent; border:0; color:#fff; font-size:25px; padding:0 8px; }
#freshline-concierge .fc-log { overflow:auto; padding:16px; flex:1; min-height:70px; }
#freshline-concierge .fc-bubble { margin:0 0 12px; padding:12px 14px; background:var(--fc-sand); border-radius:16px 16px 16px 4px; white-space:pre-wrap; overflow-wrap:anywhere; }
#freshline-concierge .fc-user { background:var(--fc-brand); color:#fff; margin-left:25px; border-radius:16px 16px 4px 16px; }
#freshline-concierge .fc-links { padding:8px 16px; display:flex; flex-wrap:wrap; gap:10px; border-top:1px solid var(--fc-line); }
#freshline-concierge a { color:var(--fc-brand-d); text-decoration:underline; }
#freshline-concierge .fc-note { font-size:11px; margin:0; padding:0 16px 8px; color:var(--fc-ink-2); }
#freshline-concierge .fc-form { padding:8px 16px 16px; }
#freshline-concierge .fc-compose { display:flex; gap:6px; }
#freshline-concierge input { min-width:0; flex:1; border:1px solid var(--fc-line); border-radius:12px; padding:10px 12px; background:#fff; color:var(--fc-ink); font-size:16px; }
#freshline-concierge input:focus { border-color:var(--fc-brand); outline:none; box-shadow:0 0 0 3px rgba(62,90,66,.18); }
#freshline-concierge .fc-send { border:0; border-radius:12px; background:var(--fc-brand); color:#fff; padding:10px 14px; font-weight:600; }
#freshline-concierge button:disabled { opacity:.55; cursor:default; }
#freshline-concierge :focus-visible,.fc-page :focus-visible { outline:3px solid var(--fc-brand); outline-offset:3px; }
@media(max-width:480px) { #freshline-concierge { right:12px; bottom:max(12px,env(safe-area-inset-bottom)); } #freshline-concierge .fc-panel { width:calc(100vw - 24px); } }

/* Keep controls reachable with a short screen or an expanded security challenge. */
#freshline-concierge .fc-panel { overflow-y:auto; }
#freshline-concierge .fc-head,#freshline-concierge .fc-links,#freshline-concierge .fc-note,#freshline-concierge .fc-form { flex-shrink:0; }
#freshline-concierge .fc-security { min-width:0; }

/* Friendly, non-blocking arrival greeting. */
#freshline-concierge .fc-greeting {position:relative; width:310px; max-width:calc(100vw - 24px); padding:17px 42px 16px 18px; margin:0 0 12px auto; border:1px solid var(--fc-line); border-radius:20px; background:var(--fc-cream); box-shadow:0 14px 40px -16px rgba(31,42,34,.3); animation:fc-arrive .35s ease-out both;}
#freshline-concierge .fc-greeting strong {display:block;font-family:var(--fc-display);font-size:19px;line-height:1.15;font-weight:600;letter-spacing:-.01em;}
#freshline-concierge .fc-greeting p {margin:8px 0 12px;line-height:1.45;color:var(--fc-ink-2);}
#freshline-concierge .fc-greeting .fc-greeting-close {position:absolute;top:7px;right:10px;border:0;background:transparent;font-size:22px;color:var(--fc-ink);padding:0 4px;}
#freshline-concierge .fc-greeting .fc-greeting-open {background:var(--fc-brand);color:#fff;border:0;border-radius:20px;padding:8px 16px;font-size:13px;font-weight:600;}
@keyframes fc-arrive {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#freshline-concierge .fc-greeting{animation:none}}

/* A quiet dismiss control; the footer can reopen the receptionist. */
#freshline-concierge[hidden]{display:none!important}
#freshline-concierge .fc-hide-widget{display:block;margin:5px 0 0 auto;padding:3px 6px;border:0;background:var(--fc-cream);border-radius:6px;color:var(--fc-ink);font:11px/1.4 var(--fc-sans);text-decoration:underline;text-underline-offset:2px}

/* Visitors can collapse guidance without closing their conversation. */
#freshline-concierge .fc-help{flex-shrink:0;border-top:1px solid var(--fc-line)}
#freshline-concierge .fc-help summary{padding:7px 16px;cursor:pointer;font-size:11px;text-decoration:underline;text-underline-offset:2px}
#freshline-concierge .fc-help .fc-links{border-top:0}
#freshline-concierge .fc-help-show{display:inline}
#freshline-concierge .fc-help-hide{display:none}
#freshline-concierge .fc-help[open] .fc-help-show{display:none}
#freshline-concierge .fc-help[open] .fc-help-hide{display:inline}
.fc-restore-chat{position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:10000;border:1px solid var(--fc-line);border-radius:24px;padding:9px 14px;background:#fff;color:var(--fc-ink);font:600 13px var(--fc-sans);cursor:pointer}
.fc-restore-chat[hidden]{display:none!important}
.fc-restore-chat:focus-visible{outline:3px solid var(--fc-brand);outline-offset:3px}

/* ---------------- Inner pages (body.fc-page) ---------------- */
.fc-page { font:17px/1.65 var(--fc-sans); background:var(--fc-sand); color:var(--fc-ink); margin:0; -webkit-font-smoothing:antialiased; overflow-x:clip; }
.fc-page *,.fc-page *::before,.fc-page *::after { box-sizing:border-box; }

/* Slim branded header */
.fc-top { position:sticky; top:0; z-index:50; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px clamp(18px,4.5vw,48px); background:color-mix(in srgb,var(--fc-sand) 92%,transparent); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:0 1px 0 var(--fc-line); }
.fc-page .fc-brand { display:inline-flex; align-items:center; gap:.45rem; color:var(--fc-ink); text-decoration:none; font-family:"Cormorant Garamond",Georgia,serif; font-weight:500; font-size:1.55rem; letter-spacing:-.025em; line-height:1; white-space:nowrap; }
.fc-page .fc-brand .mark { width:28px; height:28px; object-fit:contain; flex:none; }
.fc-page .logo-wordmark { display:inline-flex; align-items:baseline; gap:.32rem; }
.fc-page .logo-initials { color:#5f7a63; font-size:1.2em; font-weight:600; letter-spacing:-.065em; }
.fc-page .logo-name { letter-spacing:-.035em; }
.fc-page .logo-amp { font-style:italic; font-weight:400; }
.fc-page .fc-top-cta { display:inline-flex; align-items:center; min-height:42px; padding:0 1.1rem; border-radius:8px; background:var(--fc-cta); color:#fff; text-decoration:none; font-weight:600; font-size:.95rem; white-space:nowrap; }
.fc-page .fc-top-cta:hover { background:var(--fc-cta-d); }
.fc-page .fc-top-cta[href*="wa.me"] { background:var(--fc-brand); }
.fc-page .fc-top-cta[href*="wa.me"]:hover { background:var(--fc-brand-d); }

.fc-page main { max-width:780px; margin:clamp(20px,4vw,48px) auto clamp(48px,7vw,96px); padding:clamp(24px,4.5vw,56px); background:var(--fc-cream); border-radius:clamp(22px,3vw,36px); overflow-wrap:anywhere; }
.fc-page main > a:first-child { display:flex; width:fit-content; align-items:center; gap:.4rem; font-size:.92rem; font-weight:600; color:var(--fc-brand-d); text-decoration:none; padding:.4rem .9rem; border-radius:8px; background:var(--fc-sand); margin-bottom:1.6rem; }
.fc-page main > a:first-child:hover { background:var(--fc-brand-soft); }
.fc-page h1,.fc-page h2 { font-family:var(--fc-display); font-weight:600; letter-spacing:-.02em; line-height:1.08; text-wrap:balance; color:var(--fc-ink); }
.fc-page h1 { font-size:clamp(2.3rem,6vw,3.6rem); margin:0 0 1rem; }
.fc-page h2 { font-size:clamp(1.35rem,2.6vw,1.65rem); letter-spacing:-.015em; margin:2.4rem 0 .6rem; padding-top:1.6rem; border-top:1px solid var(--fc-line); }
.fc-page p { margin:0 0 1rem; color:var(--fc-ink-2); }
.fc-page p strong { color:var(--fc-ink); }
.fc-page a { color:var(--fc-brand-d); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.fc-page a:hover { color:var(--fc-brand); }
.fc-page code { font-size:.85em; background:var(--fc-sand); padding:.1em .4em; border-radius:6px; color:var(--fc-ink); }
.fc-page .fc-eyebrow { display:inline-block; font-size:.8rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--fc-brand-d); margin-bottom:.6rem; }
.fc-page main > p:last-child { margin:2.4rem 0 0; padding-top:1.4rem; border-top:1px solid var(--fc-line); font-size:.92rem; }

/* Forms (enquiry + cookie settings) */
.fc-page form { margin:1.8rem 0; padding:clamp(20px,3.5vw,36px); border:0; background:var(--fc-sand); border-radius:24px; }
.fc-page label { display:block; margin-top:18px; font-weight:600; color:var(--fc-ink); font-size:.97rem; }
.fc-page form > label:first-child { margin-top:0; }
.fc-page input:not([type=checkbox]),.fc-page select,.fc-page textarea { display:block; width:100%; margin-top:6px; padding:13px 14px; border:1.5px solid var(--fc-line); border-radius:12px; background:#fff; font:inherit; font-size:16px; color:var(--fc-ink); transition:border-color .2s, box-shadow .2s; }
.fc-page input:not([type=checkbox]):hover,.fc-page select:hover,.fc-page textarea:hover { border-color:#C9B597; }
.fc-page input:not([type=checkbox]):focus,.fc-page select:focus,.fc-page textarea:focus { outline:none; border-color:var(--fc-brand); box-shadow:0 0 0 4px rgba(62,90,66,.16); }
.fc-page select { appearance:none; -webkit-appearance:none; background-image:linear-gradient(45deg,transparent 50%,var(--fc-ink-2) 50%),linear-gradient(135deg,var(--fc-ink-2) 50%,transparent 50%); background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%; background-size:5px 5px; background-repeat:no-repeat; padding-right:40px; }
.fc-page input[type=checkbox] { width:20px; height:20px; margin:0 .55rem 0 0; vertical-align:-4px; accent-color:var(--fc-brand); }
.fc-page label:has(input[type=checkbox]) { font-weight:500; color:var(--fc-ink-2); display:flex; align-items:flex-start; gap:.1rem; line-height:1.5; }
.fc-page label:has(input[type=checkbox]) input { flex:none; margin-top:2px; }
.fc-page button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; background:var(--fc-brand); color:#fff; border:0; padding:0 28px; border-radius:8px; font:inherit; font-weight:600; margin-top:22px; cursor:pointer; transition:background-color .2s; }
.fc-page button:hover:not(:disabled) { background:var(--fc-brand-d); }
.fc-page #submit { background:var(--fc-cta); }
.fc-page #submit:hover:not(:disabled) { background:var(--fc-cta-d); }
.fc-page button:disabled { opacity:.5; cursor:not-allowed; }
.fc-page .fc-trap { position:absolute; left:-10000px; }
.fc-page .fc-status { border-left:0; padding:14px 16px; background:var(--fc-brand-soft); border-radius:14px; color:var(--fc-ink); }
.fc-page [role=status]:not(:empty) { margin-top:14px; padding:12px 14px; background:#fff; border-radius:12px; color:var(--fc-ink); }

@media(max-width:560px){
  .fc-page { font-size:16px; }
  .fc-page main { margin:10px 8px 40px; padding:22px 18px; border-radius:22px; }
  .fc-page .fc-brand { font-size:1.25rem; gap:.3rem; } .fc-page .fc-brand .mark { width:22px; height:22px; }
  .fc-page form { padding:18px 16px; border-radius:18px; }
  .fc-page button { width:100%; }
}
@media(prefers-reduced-motion:reduce){ .fc-page *{transition:none!important} }
@media(max-width:400px){
  .fc-top { padding:12px 14px; }
  .fc-page .fc-brand { font-size:1.12rem; gap:.25rem; }
  .fc-page .fc-brand .mark { width:20px; height:20px; }
  .fc-page .fc-top-cta { min-height:38px; padding:0 .85rem; font-size:.85rem; }
}
@media(max-width:350px){ .fc-page .fc-top-cta { display:none; } }
