/* Alumnita – pagrindiniai stiliai Blocksy vaiko temai.
   Spalvos: grafito pilka pagal logotipą, oranžinis akcentas. Be gradientų ir šešėlių. */

html:root {
	--al-graphite: #2B2F33;
	--al-graphite-dark: #1C1F22;
	--al-orange: #F2643D;      /* akcentas: linijos, žymekliai */
	--al-orange-dark: #C4461F; /* mygtukai, nuorodos (kontrastas) */
	--al-orange-deep: #A33916; /* hover */
	--al-text: #141618;
	--al-muted: #5B6168;
	--al-bg: #F5F6F7;
	--al-line: #DBDDDF;
	--al-white: #FFFFFF;
	--al-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Blocksy paletė (perrašo Customizer reikšmes) */
	--theme-palette-color-1: var(--al-orange-dark);
	--theme-palette-color-2: var(--al-orange-deep);
	--theme-palette-color-3: var(--al-text);
	--theme-palette-color-4: var(--al-graphite);
	--theme-palette-color-5: var(--al-line);
	--theme-palette-color-6: #EDEEF0;
	--theme-palette-color-7: var(--al-bg);
	--theme-palette-color-8: var(--al-white);

	--theme-font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--theme-normal-container-max-width: 1280px;
	--theme-button-border-radius: 2px;
	--theme-border-radius: 2px;
}

body { font-family: var(--theme-font-family); color: var(--al-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--theme-font-family); color: var(--al-graphite); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-weight: 700; }
* { box-shadow: none; }

/* Nuorodos ir mygtukai */
.entry-content a:not(.wp-block-button__link) { color: var(--al-orange-dark); text-underline-offset: 3px; }
.entry-content a:not(.wp-block-button__link):hover { color: var(--al-orange-deep); }
.wp-block-button__link, .ct-button, button[type="submit"], input[type="submit"] {
	background: var(--al-orange-dark); color: #fff; border-radius: 2px; font-weight: 600; border: 0;
}
.wp-block-button__link:hover, .ct-button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: var(--al-orange-deep); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--al-graphite); border: 1.5px solid var(--al-graphite); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--al-graphite); color: #fff; }

/* Skaičiai ir specifikacijos – Plex Mono */
.al-mono, .al-spec td:last-child, .al-facts strong, .al-bignum { font-family: var(--al-mono); font-variant-numeric: tabular-nums; }

/* Akcento linija virš sekcijų antraščių */
.al-kicker { display: inline-block; font-family: var(--al-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--al-muted); padding-top: 10px; border-top: 3px solid var(--al-orange); margin-bottom: 0.75rem; }

/* Tamsi sekcija (hero, CTA) */
.al-dark { background: var(--al-graphite); color: #E8EAEC; }
.al-dark h1, .al-dark h2, .al-dark h3 { color: #fff; }
.al-dark .al-kicker { color: #B9BEC4; }
.al-dark a:not(.wp-block-button__link) { color: #fff; }

/* Faktų juosta po H1 */
.al-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); }
.al-facts li { flex: 1 1 200px; padding: 18px 20px; border-left: 1px solid var(--al-line); margin: 0; }
.al-facts li:first-child { border-left: 0; }
.al-facts strong { display: block; font-size: 1.6rem; font-weight: 500; color: var(--al-graphite); line-height: 1.2; }
.al-facts span { font-size: 0.9rem; color: var(--al-muted); }
.al-dark .al-facts, .al-dark .al-facts li { border-color: rgba(255,255,255,0.16); }
.al-dark .al-facts strong { color: #fff; }
.al-dark .al-facts span { color: #B9BEC4; }

/* Specifikacijų lentelė */
.al-spec table, table.al-spec { width: 100%; border-collapse: collapse; background: var(--al-white); font-size: 0.95rem; }
.al-spec th, .al-spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--al-line); vertical-align: top; }
.al-spec thead th { font-family: var(--al-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--al-muted); border-bottom: 2px solid var(--al-graphite); font-weight: 500; }
.al-spec td:first-child { color: var(--al-muted); width: 42%; }
.al-spec td:last-child { color: var(--al-text); font-weight: 500; }
.al-spec.wp-block-table { border: 0; }
.al-spec.wp-block-table td, .al-spec.wp-block-table th { border-left: 0; border-right: 0; border-top: 0; }

/* Proceso juosta: 6 žingsniai */
.al-process { counter-reset: al-step; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.al-process li { counter-increment: al-step; position: relative; padding: 34px 14px 0 0; border-top: 2px solid var(--al-line); margin: 0; font-size: 0.95rem; }
.al-process li::before { content: counter(al-step, decimal-leading-zero); position: absolute; top: 8px; left: 0; font-family: var(--al-mono); font-size: 0.8rem; color: var(--al-orange-dark); }
.al-process li::after { content: ""; position: absolute; top: -2px; left: 0; width: 32px; height: 2px; background: var(--al-orange); }
.al-process li strong { display: block; color: var(--al-graphite); margin-bottom: 4px; }
@media (max-width: 900px) { .al-process { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }
@media (max-width: 520px) { .al-process { grid-template-columns: 1fr; } }

/* Paslaugų ir projektų kortelės */
.al-card { background: var(--al-white); border: 1px solid var(--al-line); border-radius: 0; height: 100%; display: flex; flex-direction: column; }
.al-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.al-card .al-card-body { padding: 18px 20px 20px; }
.al-card h3 { font-size: 1.15rem; margin: 0 0 10px; }
.al-card ul { list-style: none; margin: 0 0 14px; padding: 0; font-family: var(--al-mono); font-size: 0.85rem; color: var(--al-muted); }
.al-card ul li { padding: 3px 0; border-bottom: 1px dashed var(--al-line); }
.al-card .al-more { margin-top: auto; font-weight: 600; color: var(--al-orange-dark); text-decoration: none; }
.al-card .al-more::after { content: " →"; }

/* Dideli skaičiai */
.al-bignum { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; color: var(--al-graphite); line-height: 1; }

/* DUK (details/summary blokai) */
.wp-block-details { border-bottom: 1px solid var(--al-line); padding: 14px 0; }
.wp-block-details summary { font-weight: 600; color: var(--al-graphite); cursor: pointer; }
.wp-block-details[open] summary { color: var(--al-orange-dark); }

/* Lipnus „Gauti pasiūlymą“ mygtukas */
.al-sticky-cta { position: fixed; right: 20px; bottom: 20px; z-index: 999; display: inline-flex; align-items: center; gap: 8px; background: var(--al-orange-dark); color: #fff !important; font-weight: 600; text-decoration: none; padding: 13px 20px; border-radius: 2px; font-size: 0.95rem; }
.al-sticky-cta:hover { background: var(--al-orange-deep); }
.al-sticky-tel { display: none; }
@media (max-width: 689px) {
	.al-sticky-cta { left: 0; right: 50%; bottom: 0; border-radius: 0; justify-content: center; padding: 15px 10px; }
	.al-sticky-tel { display: inline-flex; position: fixed; left: 50%; right: 0; bottom: 0; z-index: 999; justify-content: center; padding: 15px 10px; background: var(--al-graphite); color: #fff !important; font-weight: 600; text-decoration: none; }
	body { padding-bottom: 52px; }
}

/* Poraštė */
#footer, .ct-footer { background: var(--al-graphite-dark); color: #B9BEC4; }
.ct-footer a { color: #E8EAEC; }
.ct-footer a:hover { color: var(--al-orange); }

/* Formos */
.fluentform .ff-el-form-control, .wpforms-field input, .wpforms-field textarea { border: 1px solid var(--al-line); border-radius: 2px; }
.fluentform .ff-el-form-control:focus { border-color: var(--al-graphite); outline: 2px solid rgba(242,100,61,.25); }

/* Poraštės eilutė */
.al-copy { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #B9BEC4; }
.al-flag { flex: none; display: inline-block; border: 1px solid rgba(255,255,255,.2); }

/* Ramus, aiškus stilius: be animacijų ir apvalinimų */
html { scroll-behavior: auto; }
.wp-block-button__link, .ct-button, .al-sticky-cta { border-radius: 0; transition: none; }

/* Hero su ABB roboto nuotrauka */
.al-hero { min-height: 640px; }
.al-hero .wp-block-cover__inner-container { max-width: 1280px; }
.al-hero h1 { max-width: 16ch; }
.al-hero p { max-width: 60ch; }

/* Sertifikatų blokas (kaip Tututis Textil), savi ženklai – ne sertifikavimo įstaigų logotipai */
.al-cert-sec { background: #EEF0F1; }
.al-cert-head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-bottom: 40px; }
.al-cert-head h2 { margin: 0 0 12px; }
.al-cert-head p { margin: 0; color: var(--al-muted); max-width: 64ch; }
.al-cert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--al-line); border-left: 1px solid var(--al-line); }
.al-cert figure { margin: 0; padding: 28px 20px; background: #fff; border-right: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.al-seal { width: 84px; height: 84px; border: 2px solid var(--al-graphite); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--al-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--al-muted); line-height: 1.1; }
.al-seal b { font-size: 1.05rem; color: var(--al-graphite); letter-spacing: 0; font-weight: 500; }
.al-cert figcaption { font-size: 0.9rem; color: var(--al-muted); display: flex; flex-direction: column; gap: 4px; }
.al-cert figcaption b { color: var(--al-graphite); font-size: 1rem; }
.al-cert figcaption em { font-style: normal; font-family: var(--al-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--al-orange-dark); margin-top: 6px; }
.al-cert-more { margin-top: 24px; }
.al-cert-more a { color: var(--al-orange-dark); font-weight: 600; text-decoration: none; }
.al-cert-more a::after { content: " →"; }
@media (max-width: 1000px) { .al-cert { grid-template-columns: repeat(2, 1fr); } .al-cert-head { grid-template-columns: 1fr; } }

/* Pradinis: ramsčiai, tinkleliai, pramonės šakos */
.al-pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--al-graphite); }
.al-pillars > div { padding: 24px 24px 0 0; }
.al-pillars b { display: block; color: var(--al-graphite); font-size: 1.1rem; margin-bottom: 8px; }
.al-pillars p { margin: 0; color: var(--al-muted); }
.al-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
a.al-card { text-decoration: none; color: inherit; }
a.al-card:hover h3 { color: var(--al-orange-dark); }
.al-more-ops { margin-top: 24px; color: var(--al-muted); }
.al-more-ops a { color: var(--al-graphite); font-weight: 600; }
.al-ind { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--al-line); border-left: 1px solid var(--al-line); }
.al-ind > div { padding: 22px 20px; border-right: 1px solid var(--al-line); border-bottom: 1px solid var(--al-line); background: #fff; }
.al-ind b { display: block; color: var(--al-graphite); margin-bottom: 6px; }
.al-ind span { color: var(--al-muted); font-size: 0.92rem; }
.al-hero .al-facts li { flex: 1 1 180px; }
@media (max-width: 1000px) { .al-grid4 { grid-template-columns: repeat(2, 1fr); } .al-ind { grid-template-columns: repeat(2, 1fr); } .al-pillars { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .al-grid4, .al-ind { grid-template-columns: 1fr; } }

/* Užklausos forma */
.al-rfq { display: grid; gap: 18px; background: #fff; border: 1px solid var(--al-line); padding: 28px; }
.al-rfq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.al-rfq label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--al-graphite); }
.al-rfq input[type=text], .al-rfq input[type=email], .al-rfq input[type=tel], .al-rfq input[type=date], .al-rfq textarea { border: 1px solid var(--al-line); border-radius: 0; padding: 10px 12px; font: inherit; font-weight: 400; background: #fff; }
.al-rfq input:focus, .al-rfq textarea:focus { outline: 2px solid rgba(196,70,31,.25); border-color: var(--al-graphite); }
.al-rfq-ops { border: 1px solid var(--al-line); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.al-rfq-ops legend { font-weight: 600; padding: 0 6px; }
.al-rfq .al-chk { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.al-rfq .al-file input { padding: 18px; border: 1px dashed var(--al-graphite); background: var(--al-bg); }
.al-rfq button { justify-self: start; background: var(--al-orange-dark); color: #fff; border: 0; padding: 14px 26px; font-weight: 600; cursor: pointer; }
.al-rfq button:hover { background: var(--al-orange-deep); }
.al-hp { position: absolute; left: -9999px; }
.al-rfq-msg { padding: 14px 18px; margin-bottom: 18px; }
.al-ok { background: #e5f4e4; } .al-err { background: #fbebeb; }
@media (max-width: 900px) { .al-rfq-grid { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .al-sticky-cta { display: none; } }

/* v1.5.1: hero texts left-aligned with the 1280px content box */
.al-hero-sm h1,.al-hero-sm .al-lead,.al-hero-sm .al-kicker,.al-hero-sm .wp-block-buttons,.al-hero-sm .al-facts{margin-left:max(0px,calc((100% - 1280px)/2))!important;margin-right:auto!important}

/* Slapukų juosta */
.al-cc{position:fixed;left:16px;right:16px;bottom:16px;z-index:10000;max-width:1280px;margin:0 auto;background:#2B2F33;color:#D9DCDF;border-top:3px solid #F2643D;box-shadow:0 8px 30px rgba(0,0,0,.25);font-size:.9rem;line-height:1.55}
.al-cc[hidden],.al-cc-reopen[hidden],.al-cc-opts[hidden]{display:none!important}
.al-cc-in{display:flex;gap:24px;align-items:flex-end;justify-content:space-between;padding:18px 22px;flex-wrap:wrap}
.al-cc-txt{flex:1 1 520px}.al-cc-txt strong{color:#fff;display:block;margin-bottom:4px;font-size:.95rem}.al-cc-txt p{margin:0}.al-cc-txt a{color:#fff;text-decoration:underline}
.al-cc-opts{display:grid;gap:6px;margin-top:12px}.al-cc-opts label{display:flex;gap:8px;align-items:baseline;cursor:pointer}.al-cc-opts b{color:#fff;font-weight:600;min-width:110px}.al-cc-opts span{color:#B9BEC4}
.al-cc-btn{display:flex;gap:8px;flex-wrap:wrap}
.al-cc-btn button{font:inherit;font-weight:600;padding:10px 16px;border:1px solid rgba(255,255,255,.45);background:transparent;color:#fff;cursor:pointer;border-radius:0}
.al-cc-btn .al-cc-all{background:#C4461F;border-color:#C4461F}.al-cc-btn .al-cc-all:hover{background:#A33916}
.al-cc-btn button:hover{border-color:#fff}
.al-cc-reopen{position:fixed;left:16px;bottom:16px;z-index:9999;width:38px;height:38px;border-radius:50%;border:0;background:#2B2F33;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.85}
@media(max-width:782px){.al-cc{left:0;right:0;bottom:52px}.al-cc-reopen{bottom:62px}}
