/*
Theme Name: Abbiamo Copiers
Theme URI: https://abbiamocopiers.com
Description: Abbiamo Copiers child theme for Avada One. Site styles live here; page layouts are built with Avada Builder; the header and footer are Avada layout sections.
Author: TechStarters Inc.
Author URI: https://techstarters.com
Template: avada-one
Version: 1.1.0
Requires PHP: 8.1
Text Domain: Avada
*/

/* ---------- Design tokens (Abbiamo Copiers: deep ink, Abbiamo royal, a thin gold accent) ---------- */
:root {
	--ac-ink: #0b1236;
	--ac-ink-2: #070b24;
	--ac-royal: #0624aa;
	--ac-royal-dark: #041a7a;
	--ac-gold: #ffad0f;
	--ac-text: #161b2e;
	--ac-muted: #545d73;
	--ac-line: #dfe4ef;
	--ac-mist: #f4f6fb;
	--ac-white: #ffffff;
	--ac-radius: 4px;
	--ac-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ac-wrap: 1200px;
}

/* ---------- Base ---------- */
body.ts-ac-site { font-family: var(--ac-font); color: var(--ac-text); background: var(--ac-white); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body.ts-ac-site * { transition: none !important; } }
body.ts-ac-site :focus-visible { outline: 3px solid var(--ac-royal); outline-offset: 2px; }
body.ts-ac-site :is(.ac-hero, .ac-cta, .ac-ftr, .ac-mbar) :focus-visible { outline-color: var(--ac-gold); }
body.ts-ac-site .ac-sec > .fusion-builder-row { max-width: var(--ac-wrap); margin-left: auto; margin-right: auto; }
body.ts-ac-site .ac-anchor { position: relative; top: -16px; scroll-margin-top: 24px; }

body.ts-ac-site .ac-sec .fusion-text,
body.ts-ac-site .ac-sec .fusion-text :where(p, li, td, th, summary) { font-family: var(--ac-font); font-size: 17px; line-height: 1.65; color: var(--ac-text); }
body.ts-ac-site .ac-sec .fusion-text { margin-bottom: 0; }
body.ts-ac-site .ac-sec .fusion-text :where(p) { margin: 0 0 1em; max-width: 68ch; }
body.ts-ac-site .ac-sec .fusion-text > :last-child,
body.ts-ac-site .ac-sec .fusion-text :where(p):last-child { margin-bottom: 0; }
body.ts-ac-site .ac-sec .fusion-text :where(a) { color: var(--ac-royal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.ts-ac-site .ac-sec .fusion-text :where(a):hover { color: var(--ac-royal-dark); }
body.ts-ac-site .ac-sec .fusion-text :where(strong) { color: var(--ac-ink); font-weight: 650; }

/* ---------- Type ---------- */
body.ts-ac-site .ac-sec .fusion-text :where(h1, h2, h3) { font-family: var(--ac-font); color: var(--ac-ink); text-transform: none; text-align: left; margin: 0 0 0.5em; }
body.ts-ac-site .ac-sec .fusion-text h1.ac-h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.06; font-weight: 750; letter-spacing: -0.025em; max-width: 16ch; color: var(--ac-white); }
body.ts-ac-site .ac-sec .fusion-text h1.ac-h1--home { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem); }
body.ts-ac-site .ac-sec .fusion-text h2.ac-h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1.12; font-weight: 720; letter-spacing: -0.02em; max-width: 24ch; }
body.ts-ac-site .ac-sec .fusion-text h3.ac-h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 680; letter-spacing: -0.005em; }
body.ts-ac-site .ac-sec .fusion-text * + h2.ac-h2 { margin-top: 1.4em; }
body.ts-ac-site .ac-sec .fusion-text p.ac-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac-royal); margin: 0 0 18px; padding-bottom: 8px; border-bottom: 2px solid var(--ac-gold); }
body.ts-ac-site .ac-sec .fusion-text p.ac-eyebrow--light { color: #d9def5; }
body.ts-ac-site .ac-sec .fusion-text p.ac-lead { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, 0.86); max-width: 56ch; margin-top: 10px; }
body.ts-ac-site .ac-sec .fusion-text p.ac-intro { color: var(--ac-muted); font-size: 18px; max-width: 62ch; }
body.ts-ac-site .ac-sec .fusion-text p.ac-note { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 18px; }
body.ts-ac-site .ac-narrow > .fusion-column-wrapper { max-width: 820px; }
body.ts-ac-site .ac-head-col > .fusion-column-wrapper { margin-bottom: 36px !important; }

/* ---------- Buttons (square-cornered, quiet) ---------- */
body.ts-ac-site .ac-sec .fusion-text .ac-actions,
body.ts-ac-site .ac-hdr .ac-hdr-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--ac-radius); font-size: 16px; font-weight: 650; letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--primary { background: var(--ac-royal); color: var(--ac-white); border-color: var(--ac-royal); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--primary:hover { background: var(--ac-royal-dark); border-color: var(--ac-royal-dark); color: var(--ac-white); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--line { background: var(--ac-white); color: var(--ac-ink); border-color: var(--ac-line); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--line:hover { border-color: var(--ac-royal); color: var(--ac-royal); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--light { background: var(--ac-white); color: var(--ac-royal); border-color: var(--ac-white); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--light:hover { background: #e8ecfb; border-color: #e8ecfb; color: var(--ac-royal-dark); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--line-light { background: transparent; color: var(--ac-white); border-color: rgba(255, 255, 255, 0.5); }
body.ts-ac-site .ac-sec .fusion-text a.ac-btn--line-light:hover { border-color: var(--ac-white); color: var(--ac-white); }

/* ---------- Hero: deep ink band with an angled lower edge ---------- */
body.ts-ac-site .ac-hero { position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
body.ts-ac-site .ac-hero .fusion-text :where(p, li) { color: rgba(255, 255, 255, 0.86); }
body.ts-ac-site .ac-hero-media img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
body.ts-ac-site .ac-hero-img > .fusion-column-wrapper { padding-left: 24px; }
@media (max-width: 800px) { body.ts-ac-site .ac-hero-img > .fusion-column-wrapper { padding-left: 0; margin-top: 36px; } body.ts-ac-site .ac-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); } }

/* ---------- Facts rail: four numbers on a white card that overlaps the hero ---------- */
body.ts-ac-site .ac-rail { background: transparent !important; position: relative; z-index: 2; }
body.ts-ac-site .ac-rail > .fusion-builder-row { margin-top: -64px; background: var(--ac-white); border: 1px solid var(--ac-line); box-shadow: 0 24px 48px -32px rgba(11, 18, 54, 0.45); }
body.ts-ac-site .ac-fact > .fusion-column-wrapper { padding: 28px 28px 26px !important; border-left: 1px solid var(--ac-line); }
body.ts-ac-site .ac-fact:first-child > .fusion-column-wrapper { border-left: 0; }
body.ts-ac-site .ac-sec .fusion-text p.ac-fact-num { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; font-weight: 750; letter-spacing: -0.02em; color: var(--ac-royal); font-variant-numeric: tabular-nums; margin: 0 0 6px; }
body.ts-ac-site .ac-sec .fusion-text p.ac-fact-label { font-size: 14px; line-height: 1.4; color: var(--ac-muted); margin: 0; }
@media (max-width: 800px) { body.ts-ac-site .ac-fact:nth-child(odd) > .fusion-column-wrapper { border-left: 0; } body.ts-ac-site .ac-fact:nth-child(n+3) > .fusion-column-wrapper { border-top: 1px solid var(--ac-line); } }

/* ---------- Need panels: numbered, the whole panel is the link ---------- */
body.ts-ac-site .ac-panel > .fusion-column-wrapper { position: relative; height: 100%; padding: 32px 30px 28px !important; background: var(--ac-white); border: 1px solid var(--ac-line); border-radius: var(--ac-radius); transition: border-color 0.15s ease, background-color 0.15s ease; }
body.ts-ac-site .ac-panel:hover > .fusion-column-wrapper { border-color: var(--ac-royal); }
body.ts-ac-site .ac-sec .fusion-text p.ac-num { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--ac-gold); background: var(--ac-ink); display: inline-block; padding: 4px 10px; margin: 0 0 22px; font-variant-numeric: tabular-nums; }
body.ts-ac-site .ac-sec .fusion-text a.ac-panel-link { color: var(--ac-ink); text-decoration: none; }
body.ts-ac-site .ac-sec .fusion-text a.ac-panel-link::after { content: ""; position: absolute; inset: 0; }
body.ts-ac-site .ac-panel:hover a.ac-panel-link { text-decoration: underline; text-underline-offset: 4px; }
body.ts-ac-site .ac-sec .fusion-text p.ac-more { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ac-royal); margin-top: 18px; }

/* ---------- Split sections, cards, lists ---------- */
body.ts-ac-site .ac-split-a > .fusion-column-wrapper { padding-right: 32px; }
@media (max-width: 800px) { body.ts-ac-site .ac-split-a > .fusion-column-wrapper { padding-right: 0; margin-bottom: 32px; } }
body.ts-ac-site .ac-card > .fusion-column-wrapper { height: 100%; padding: 30px 28px !important; background: var(--ac-white); border: 1px solid var(--ac-line); border-radius: var(--ac-radius); }
body.ts-ac-site .ac-opt > .fusion-column-wrapper { border-top: 3px solid var(--ac-royal); }
body.ts-ac-site .ac-sec .fusion-text ul.ac-list { list-style: none; margin: 0 0 1em; padding: 0; }
body.ts-ac-site .ac-sec .fusion-text ul.ac-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--ac-line); }
body.ts-ac-site .ac-sec .fusion-text ul.ac-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 2px; background: var(--ac-gold); }
body.ts-ac-site .ac-sec .fusion-text ol.ac-ol { margin: 0 0 1em; padding-left: 1.3em; }
body.ts-ac-site .ac-sec .fusion-text ol.ac-ol li { padding: 6px 0; }
body.ts-ac-site .ac-sec .fusion-text ul.ac-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.ts-ac-site .ac-sec .fusion-text ul.ac-links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--ac-line); border-radius: var(--ac-radius); background: var(--ac-white); color: var(--ac-ink); text-decoration: none; font-size: 16px; }
body.ts-ac-site .ac-sec .fusion-text ul.ac-links a:hover { border-color: var(--ac-royal); color: var(--ac-royal); }
body.ts-ac-site .ac-product img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
body.ts-ac-site .ac-sec .fusion-text p.ac-nap { line-height: 1.8; }

/* ---------- Process steps: numerals on a thin line ---------- */
body.ts-ac-site .ac-step > .fusion-column-wrapper { padding: 26px 26px 6px 0 !important; border-top: 2px solid var(--ac-line); }
body.ts-ac-site .ac-sec .fusion-text p.ac-step-num { font-size: 2.4rem; line-height: 1; font-weight: 300; color: var(--ac-royal); font-variant-numeric: tabular-nums; margin: 0 0 14px; }
body.ts-ac-site .ac-step:first-child > .fusion-column-wrapper { border-top-color: var(--ac-gold); }

/* ---------- Guarantees ---------- */
body.ts-ac-site .ac-sec .fusion-text p.ac-guar-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac-muted); margin: 0 0 8px; }
body.ts-ac-site .ac-guarantees .ac-card > .fusion-column-wrapper { border-left: 4px solid var(--ac-royal); }
body.ts-ac-site .ac-band .fusion-text { border-left: 4px solid var(--ac-gold); padding-left: 28px; }

/* ---------- FAQ (native details/summary; the + is a control, not decoration) ---------- */
body.ts-ac-site .ac-faq { border-top: 1px solid var(--ac-line); }
body.ts-ac-site .ac-faq details.ac-q { border-bottom: 1px solid var(--ac-line); }
body.ts-ac-site .ac-faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; font-weight: 650; color: var(--ac-ink); font-size: 18px; }
body.ts-ac-site .ac-faq summary::-webkit-details-marker { display: none; }
body.ts-ac-site .ac-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 300; color: var(--ac-royal); }
body.ts-ac-site .ac-faq details[open] summary::after { content: "\2212"; }
body.ts-ac-site .ac-faq .ac-a { padding: 0 0 20px; }
body.ts-ac-site .ac-faq .ac-a p { color: var(--ac-muted); }

/* ---------- Forms (Gravity Forms prints its own CSS late: higher specificity here) ---------- */
body.ts-ac-site .ac-form-col > .fusion-column-wrapper { max-width: 820px; }
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield_label,
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gform-field-label { font-family: var(--ac-font); font-size: 15px; font-weight: 650; color: var(--ac-ink); }
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield input[type="text"],
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield input[type="email"],
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield input[type="tel"],
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield select,
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield textarea { min-height: 48px; padding: 10px 14px; font-size: 16px; border: 1px solid #b9c1d6; border-radius: var(--ac-radius); background: var(--ac-white); color: var(--ac-text); }
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield input:focus,
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield select:focus,
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gfield textarea:focus { border-color: var(--ac-royal); outline: 3px solid rgba(6, 36, 170, 0.18); outline-offset: 0; }
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gform_footer button { min-height: 50px; padding: 12px 28px; font-size: 16px; font-weight: 650; color: var(--ac-white); background: var(--ac-royal); border: 1px solid var(--ac-royal); border-radius: var(--ac-radius); cursor: pointer; }
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
body.ts-ac-site .ac-sec .gform_wrapper.gravity-theme .gform_footer button:hover { background: var(--ac-royal-dark); border-color: var(--ac-royal-dark); }
body.ts-ac-site .ac-form .fusion-column-wrapper { background: var(--ac-white); }
body.ts-ac-site .ac-form .ac-form-col > .fusion-column-wrapper { padding: 40px 40px 36px !important; border: 1px solid var(--ac-line); border-radius: var(--ac-radius); }
@media (max-width: 800px) { body.ts-ac-site .ac-form .ac-form-col > .fusion-column-wrapper { padding: 26px 20px !important; } }
body.ts-ac-site .ac-contact-card { padding: 26px 24px; border: 1px solid var(--ac-line); border-radius: var(--ac-radius); background: var(--ac-mist); margin-bottom: 18px; }

/* ---------- Call to action band (Abbiamo royal) ---------- */
body.ts-ac-site .ac-cta .fusion-text :where(h2, p) { color: var(--ac-white); }

/* ---------- Header ---------- */
body.ts-ac-site .fusion-tb-header { position: relative; z-index: 10020; }
body.ts-ac-site .fusion-tb-header .fusion-fullwidth,
body.ts-ac-site .fusion-tb-header .fusion-layout-column,
body.ts-ac-site .fusion-tb-header .fusion-column-wrapper { overflow: visible !important; }
body.ts-ac-site .ac-hdr { border-bottom: 1px solid var(--ac-line); }
body.ts-ac-site .ac-hdr .ac-logo img { display: block; width: auto; max-height: 44px; }
body.ts-ac-site .ac-hdr .awb-menu__main-a,
body.ts-ac-site .ac-hdr .awb-menu__main-li > a { font-family: var(--ac-font); font-size: 16px; font-weight: 600; }
body.ts-ac-site .ac-hdr .ac-hdr-right { justify-content: flex-end; margin-top: 0; flex-wrap: nowrap; gap: 18px; }
body.ts-ac-site .ac-hdr .fusion-text a.ac-hdr-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; white-space: nowrap; }
body.ts-ac-site .ac-hdr .fusion-text .ac-hdr-num { font-weight: 700; font-size: 16px; color: var(--ac-ink); font-variant-numeric: tabular-nums; }
body.ts-ac-site .ac-hdr .fusion-text .ac-hdr-hours { font-size: 12px; color: var(--ac-muted); }
body.ts-ac-site .ac-hdr .fusion-text a.ac-btn { min-height: 44px; padding: 10px 18px; }
@media (max-width: 1100px) { body.ts-ac-site .ac-hdr .ac-hdr-r { display: none; } }
body.ts-ac-site.page-id-2 .ac-menu-contact,
body.ts-ac-site.page-id-2 .ac-self-contact { display: none !important; }

/* ---------- Footer ---------- */
body.ts-ac-site .ac-ftr .fusion-text :where(p, li) { font-size: 15px; color: rgba(255, 255, 255, 0.78); }
body.ts-ac-site .ac-ftr .fusion-text :where(a) { color: var(--ac-white); text-decoration: none; }
body.ts-ac-site .ac-ftr .fusion-text :where(a):hover { text-decoration: underline; }
body.ts-ac-site .ac-ftr .fusion-text p.ac-ftr-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac-gold); margin-bottom: 14px; }
body.ts-ac-site .ac-ftr .fusion-text ul.ac-ftr-links { list-style: none; margin: 0; padding: 0; }
body.ts-ac-site .ac-ftr .fusion-text ul.ac-ftr-links li { padding: 5px 0; }
body.ts-ac-site .ac-ftr .fusion-text p.ac-ftr-logo img { display: block; width: 150px; height: auto; }
body.ts-ac-site .ac-ftr-col > .fusion-column-wrapper { margin-bottom: 28px !important; }
body.ts-ac-site .ac-ftr-bottom .fusion-text footer.ac-ftr-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
body.ts-ac-site .ac-ftr-bottom .fusion-text footer.ac-ftr-line a { color: var(--ac-white); }

/* ---------- Phone action bar (call and quote always within reach) ---------- */
body.ts-ac-site .ac-mbar { display: none; }
@media (max-width: 800px) {
	body.ts-ac-site { padding-bottom: 64px; }
	body.ts-ac-site .ac-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10030; background: var(--ac-ink-2); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.5); }
	body.ts-ac-site .ac-mbar a { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 16px; font-weight: 700; text-decoration: none; }
	body.ts-ac-site .ac-mbar a.ac-mbar-call { color: var(--ac-white); border-right: 1px solid rgba(255, 255, 255, 0.15); }
	body.ts-ac-site .ac-mbar a.ac-mbar-quote { background: var(--ac-royal); color: var(--ac-white); }
}
