/*
Theme Name: IBS Advisory — Design
Template: a1ibs-advisory
Version: 2.1.0
Description: Design layer for the a1ibs-advisory theme. Presentation only; all content and features come from the parent theme. Roll back by activating the parent theme.
Author: 1 Stop
*/

/* ==========================================================================
   IBS (a1ibs.com): design layer 2.1.0
   Presentation only. No wording, links or content order change.
   Mirrors the cr1stop.com 3.1/3.2 design pass, in IBS navy and gold.
   ========================================================================== */

/* ---- Services: an index of ruled rows instead of a wall of cards --------- */
#services .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 0; border-top: 1px solid rgba(216,180,91,.35); }
#services .card { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; align-content: start; background: transparent; border: 0; border-bottom: 1px solid rgba(216,180,91,.18); padding: 26px 0; transform: none !important; }
#services .card .num { grid-row: 1 / span 2; font-family: Georgia, serif; font-size: 2rem; letter-spacing: 0; line-height: 1; color: var(--gold); padding-top: 4px; }
#services .card h3 { margin: 0 0 6px; font-size: 1.15rem; }
#services .card p { font-size: .94rem; }
#services .card:hover h3 { color: var(--gold); }

/* ---- Case framework: stays as cards, with stronger numbering ------------- */
#case-framework .card .num { display: inline-block; font-family: Georgia, serif; font-size: 1.6rem; letter-spacing: 0; line-height: 1; }

/* ---- Two four-step processes look different from each other -------------- */
#technology .process { background: none; gap: 0; border-top: 3px solid var(--gold); }
#technology .step { background: transparent; padding: 26px 26px 6px 0; }
#approach .process { gap: 18px; background: none; }
#approach .step { background: var(--navy); border: 1px solid rgba(216,180,91,.18); border-top: 3px solid var(--gold); padding: 30px 26px; }
#approach .step strong { font-family: Georgia, serif; font-weight: 500; font-size: 1.3rem; }

/* ---- Section headings: short gold rule above ----------------------------- */
.section-head h2:before { content: ''; display: block; width: 56px; height: 3px; background: var(--gold); margin-bottom: 20px; }
.contact .section-head h2:before { margin-left: auto; margin-right: auto; }

/* ---- Contact: a finished closing panel ----------------------------------- */
#contact .wrap { background: var(--slate2); border: 1px solid rgba(216,180,91,.25); border-top: 3px solid var(--gold); padding: clamp(34px, 6vw, 64px); }

/* ---- Language switcher: off the page content, into the footer ----------- */
.gtranslate_wrapper { display: flex; justify-content: center; background: var(--navy); padding: 0 24px 32px; }
.gtranslate_wrapper .gt_switcher_wrapper { position: static !important; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 12px; background: transparent; color: var(--muted); border: 0; box-shadow: none; padding: 0; max-width: 100%; }
.gtranslate_wrapper .gt_switcher_wrapper::before { margin: 0; color: var(--muted); font: 14px/1.4 Inter, "Segoe UI", Arial, sans-serif; }
.gtranslate_wrapper .gt_switcher_wrapper .gt_selector { min-height: 44px; font: 15px Inter, "Segoe UI", Arial, sans-serif; background: var(--slate2); color: var(--cream); border: 1px solid #54647a; border-radius: 2px; }

@media (max-width: 900px) {
	#services .grid { grid-template-columns: 1fr; }
	#technology .step { padding-right: 0; }
}

/* ---- Phone: call / text / email bar pinned to the bottom ----------------- */
@media (max-width: 700px) {
	body.osn-on { padding-bottom: 68px; }
	.osn-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy) !important; border-top: 1px solid rgba(216,180,91,.35); box-shadow: 0 -4px 14px rgba(0,0,0,.35); }
	.osn-contact .osn-container { padding: 8px 10px !important; }
	.osn-contact .osn-container > span:first-child { display: none; }
	.osn-contact .osn-container > span:last-child { display: flex !important; width: 100%; gap: 8px; }
	.osn-contact .osn-container > span:last-child a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0 !important; padding: 0 6px; border: 1px solid var(--gold); color: var(--gold) !important; background: transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
	.osn-contact .osn-container > span:last-child a[href^="tel:"] { background: var(--gold); color: var(--navy) !important; }
	#services .card { grid-template-columns: 48px minmax(0, 1fr); }
	#services .card .num { font-size: 1.6rem; }
}
