/* tap.css - TAP1122 (MK 22 Nov 2026): what a visitor can tap or click looks tappable; text stays flat.
   Tappable = top-to-bottom gradient + darker 3px bottom edge + soft shadow + press-down + arrow in a circle.
   Colour by role: amber = quote / enquiry / call, light = secondary and link cards, dark = primary go-on.
   Static cards (.grid3 .cell, .ind .i), headings, notices and prose links are NOT touched here.
   Linked after the inline styles on every page; selectors carry an html prefix so they also win over
   the few style blocks that sit in <body>. Seva (/F/) carries its own copy and does not load this file. */

/* ---------- buttons ---------- */
html .btn{position:relative;gap:12px;border-radius:6px;transition:transform .06s,box-shadow .06s,filter .15s;-webkit-tap-highlight-color:transparent}
html .btn:active{transform:translateY(2px)}
html .btn::after{content:"\2192";display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;margin-right:-8px;border-radius:50%;font-family:var(--b);font-weight:700;font-size:15px;line-height:1;background:var(--night);color:#fff}
html .btn:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

/* amber - quote, enquiry, call */
html .btn-amber,html .btn-amber:hover{background:linear-gradient(180deg,#FFB65E 0%,#E87F0A 100%);color:#1B2A36;border:1px solid #C86600;box-shadow:0 3px 0 #8F4A00,0 5px 12px rgba(150,80,0,.30)}
html .btn-amber:hover{filter:brightness(1.06);color:#1B2A36}
html .btn-amber:active{box-shadow:0 1px 0 #8F4A00,0 2px 5px rgba(150,80,0,.30)}

/* light - secondary, on dark bands and on light surfaces alike */
html .btn-wline,html .btn-wline:hover,html .btn-line,html .btn-line:hover{background:linear-gradient(180deg,#FFFFFF 0%,#D6E7EF 100%);color:#1B2A36;border:1px solid #7F9DAD;box-shadow:0 3px 0 #8FA9B6,0 5px 12px rgba(10,20,28,.22)}
html .btn-wline:hover,html .btn-line:hover{filter:brightness(1.04);color:#1B2A36}
html .btn-wline:active,html .btn-line:active{box-shadow:0 1px 0 #8FA9B6,0 2px 5px rgba(10,20,28,.22)}

/* dark - primary go-on (available for new pages) */
html .btn-dark{background:linear-gradient(180deg,#3D5D75 0%,#1B2A36 100%);color:#fff;border:1px solid #1B2A36;box-shadow:0 3px 0 #0B1319,0 5px 12px rgba(27,42,54,.30)}
html .btn-dark::after{background:#fff;color:var(--night)}

/* where an arrow does not fit or does not mean "go on" */
html .navcta::after,html .jmc-bt .btn::after,html .capCard .cta::after,html button.btn::after{display:none}
html .navcta{border-radius:6px}
html header.hdr .navcta{margin-bottom:3px}

/* the capability modal's send button and other plain form submits */
html .capCard .cta,html .capCard .cta:hover{background:linear-gradient(180deg,#FFB65E 0%,#E87F0A 100%);color:#1B2A36;border:1px solid #C86600;border-radius:6px;box-shadow:0 3px 0 #8F4A00,0 5px 12px rgba(150,80,0,.30)}
html .capCard .cta:active{transform:translateY(2px);box-shadow:0 1px 0 #8F4A00}

/* small toggle buttons in tools (no arrow: they choose, they do not go) */
html .btn-sm{background:linear-gradient(180deg,#FFFFFF 0%,#DCEBF2 100%);border:1px solid #8FA9B6;border-radius:6px;box-shadow:0 2px 0 #8FA9B6,0 3px 8px rgba(27,42,54,.12);cursor:pointer}
html .btn-sm:active{transform:translateY(2px);box-shadow:0 0 0 #8FA9B6}

/* the quote band: two even buttons */
html #rfq .btn{min-width:240px;justify-content:center;margin:5px 3px}

/* the RFQ form's 'add duty details' toggle (inline style needs !important) */
html button.rfqmore{margin-top:6px;padding:10px 14px!important;border:1px solid #8FA9B6!important;border-radius:6px;background:linear-gradient(180deg,#FFFFFF 0%,#DCEBF2 100%)!important;box-shadow:0 2px 0 #8FA9B6,0 3px 8px rgba(27,42,54,.12)}
html button.rfqmore:active{transform:translateY(2px);box-shadow:none}

/* ---------- link cards: tile grids, related pages, downloads ---------- */
html .tiles,html .jcards{gap:14px;background:none;border:0}
html .tiles>a,html .jcards>a,html .rel-grid a,html .dl a,html a.cell,html a.fcard{position:relative;padding-right:58px;border:1px solid #8FA9B6;border-radius:8px;background:linear-gradient(180deg,#FFFFFF 0%,#DCEBF2 100%);box-shadow:0 3px 0 #8FA9B6,0 5px 12px rgba(27,42,54,.14);transition:transform .06s,box-shadow .06s,border-color .15s;-webkit-tap-highlight-color:transparent}
html .tiles>a:hover,html .jcards>a:hover,html .rel-grid a:hover,html .dl a:hover,html a.cell:hover,html a.fcard:hover{background:linear-gradient(180deg,#FFFFFF 0%,#CFE4EE 100%);border-color:var(--blue-ink)}
html .tiles>a:active,html .jcards>a:active,html .rel-grid a:active,html .dl a:active,html a.cell:active,html a.fcard:active{transform:translateY(2px);box-shadow:0 1px 0 #8FA9B6,0 2px 5px rgba(27,42,54,.14)}
html .tiles>a::after,html .jcards>a::after,html .rel-grid a::after,html .dl a::after,html a.cell::after,html a.fcard::after{content:"\2192";position:absolute;right:16px;top:50%;margin-top:-14px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-family:var(--b);font-weight:700;font-size:16px;line-height:1;background:var(--night);color:#fff}
html .dl a[href$=".pdf"]::after,html .dl a[download]::after{content:"\2193"}
html .tiles h4::after{content:none}
html .jcards>div{border:1px solid var(--line)}

/* ---------- cards whose heading is the link (Insights hub, references, news list):
   the whole card becomes the tap target; other links inside it stay on top ---------- */
html .grid3:has(>.cell>h3>a){gap:14px;background:none;border:0}
html .grid3>.cell:has(>h3>a),html .nlist>li:has(h3>a),html .ind>.i:has(>h4>a){position:relative;padding-right:58px;border:1px solid #8FA9B6;border-radius:8px;background:linear-gradient(180deg,#FFFFFF 0%,#DCEBF2 100%);box-shadow:0 3px 0 #8FA9B6,0 5px 12px rgba(27,42,54,.14);transition:transform .06s,box-shadow .06s,border-color .15s}
html .grid3>.cell:has(>h3>a):hover,html .nlist>li:has(h3>a):hover,html .ind>.i:has(>h4>a):hover{border-color:var(--blue-ink)}
html .grid3>.cell:has(>h3>a):active,html .nlist>li:has(h3>a):active,html .ind>.i:has(>h4>a):active{transform:translateY(2px);box-shadow:0 1px 0 #8FA9B6,0 2px 5px rgba(27,42,54,.14)}
html .grid3>.cell:has(>h3>a)>h3>a::before,html .nlist>li:has(h3>a) h3>a::before,html .ind>.i:has(>h4>a)>h4>a::before{content:"";position:absolute;inset:0;z-index:1}
html .grid3>.cell:has(>h3>a) p a,html .nlist>li:has(h3>a) p a,html .ind>.i:has(>h4>a) p a{position:relative;z-index:2}
html .grid3>.cell:has(>h3>a)::after,html .nlist>li:has(h3>a)::after,html .ind>.i:has(>h4>a)::after{content:"\2192";position:absolute;right:16px;top:50%;margin-top:-14px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-family:var(--b);font-weight:700;font-size:16px;line-height:1;background:var(--night);color:#fff}
html .nlist{list-style:none}
html .nlist>li:has(h3>a){margin-bottom:14px;padding-left:18px;padding-top:16px;padding-bottom:16px}

/* ---------- link lists: the cross-reference block at the foot of pages ---------- */
html .xref .xc a{position:relative;margin:0 0 8px;padding:10px 46px 10px 12px;border:1px solid #8FA9B6;border-radius:6px;background:linear-gradient(180deg,#FFFFFF 0%,#DCEBF2 100%);box-shadow:0 2px 0 #8FA9B6,0 4px 10px rgba(27,42,54,.10);font-weight:600;line-height:1.35;transition:transform .06s,box-shadow .06s}
html .xref .xc a:first-of-type{border-top:1px solid #8FA9B6}
html .xref .xc a:hover{color:var(--night);border-color:var(--blue-ink)}
html .xref .xc a:active{transform:translateY(2px);box-shadow:0 0 0 #8FA9B6}
html .xref .xc a::after{content:"\2192";position:absolute;right:10px;top:50%;margin-top:-12px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-family:var(--b);font-weight:700;font-size:14px;line-height:1;background:var(--night);color:#fff}

/* ---------- the menu ---------- */
@media(min-width:1141px){
  html .mnav .sub a{position:relative;padding-right:40px}
  html .mnav .sub a::after{content:"\2192";position:absolute;right:16px;top:50%;margin-top:-9px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-family:var(--b);font-size:12px;font-weight:700;line-height:1;background:var(--mist);color:var(--blue-ink)}
  html .mnav .sub a:hover::after{background:var(--night);color:#fff}
}
@media(max-width:1140px){
  html .mnav{padding:10px 12px;background:var(--mist)}
  html .mnav .mi>a,html .mnav .mi-flat{display:flex;margin:0 0 9px;padding:13px 14px;border:1px solid #8FA9B6;border-radius:6px;background:linear-gradient(180deg,#FFFFFF 0%,#DCEBF2 100%);box-shadow:0 3px 0 #8FA9B6,0 5px 12px rgba(27,42,54,.10)}
  html .mnav .mi>a:active,html .mnav .mi-flat:active{transform:translateY(2px);box-shadow:0 1px 0 #8FA9B6}
  html .mnav .dc{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--night);color:#fff;font-size:15px;line-height:1}
  html .mnav .mi-flat:not(.navsearch)::after{content:"\2192";display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--night);color:#fff;font-family:var(--b);font-weight:700;font-size:14px;line-height:1}
  html .mnav .mi-flat.navsearch{justify-content:flex-start;gap:12px}
  html .mnav .sub{margin:-4px 0 12px;padding:6px 0 0 12px;border:0;background:none}
  html .mnav .sub a{position:relative;margin:0 0 7px;padding:11px 46px 11px 14px;border:1px solid #A9C0CB;border-radius:6px;background:#fff;box-shadow:0 2px 0 #A9C0CB;white-space:normal}
  html .mnav .sub a::after{content:"\2192";position:absolute;right:10px;top:50%;margin-top:-11px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-family:var(--b);font-size:13px;font-weight:700;line-height:1;background:var(--night);color:#fff}
  html .mnav .sub a:active{transform:translateY(2px);box-shadow:none}
}

/* ---------- footer: a directory, so it stays text, but each link is marked as a link ---------- */
html footer .fh~a{display:flex;align-items:baseline;gap:8px;text-decoration:underline;text-decoration-color:rgba(159,178,192,.35);text-underline-offset:3px}
html footer .fh~a::before{content:"\203A";color:var(--blue);font-weight:700}
html footer .fh~a:hover{text-decoration-color:var(--blue)}
html footer .fsoc{flex-wrap:wrap;gap:10px!important}
html footer .fsoc a{width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;color:#fff!important;background:linear-gradient(180deg,#3D5D75 0%,#22374A 100%);border:1px solid #4C6A80;box-shadow:0 3px 0 #0B1319,0 4px 10px rgba(0,0,0,.35)}
html footer .fsoc a:active{transform:translateY(2px);box-shadow:0 1px 0 #0B1319}
html footer .fsoc svg{width:18px;height:18px}

/* ---------- the floating WhatsApp button ---------- */
html a.wa-fab{background:linear-gradient(180deg,#4BE07F 0%,#1DA851 100%)!important;border:1px solid #128C3E;box-shadow:0 3px 0 #0E6E31,0 6px 16px rgba(0,0,0,.28)!important}
html a.wa-fab:active{transform:translateY(2px);box-shadow:0 1px 0 #0E6E31!important}

/* ---------- the cue above a block of choices (hub pages only) ---------- */
html .tapcue{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:7px 11px;font-family:var(--h);font-weight:700;font-size:14px;color:var(--blue-ink);background:var(--mist);border:1px dashed var(--blue);border-radius:4px;width:fit-content;max-width:100%}
html .tapcue::before{content:"\2193";display:flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--blue-ink);color:#fff;font-size:14px}

@media(prefers-reduced-motion:reduce){html .btn,html .tiles>a,html .rel-grid a,html .dl a,html .xref .xc a{transition:none}}

/* contact page: email, phone and WhatsApp are the three ways to start, so they are buttons */
html .btn.cbtn{font-size:15px;padding:12px 18px;max-width:100%;white-space:nowrap}
@media(max-width:420px){html .btn.cbtn{font-size:13px;padding:11px 14px}}
