/*
Theme Name: TachoAPI (Astra Child)
Template: astra
Description: Motyw potomny Astry dla tachoapi.pl / tachoapi.com.
Version: 1.0.0
Text Domain: tachoapi
*/

/* ===== Typografia i kolory przeniesione z The7 ===== */
:root {
	--tacho-accent: #008dce;
	--tacho-accent-hover: #444444;
	--tacho-text: #4e4f50;
	--tacho-text-2: #adafb3;
	--tacho-heading: #333333;
	--tacho-footer-bg: #1a1c20;
}
body,
button, input, select, textarea {
	font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
	font-size: 15px;
	line-height: 1.5em;
	color: var(--tacho-text);
}
a { color: var(--tacho-accent); }
h1, h2, h3, h4, h5, h6,
.entry-content :where(h1, h2, h3, h4, h5, h6) { color: var(--tacho-heading); text-transform: none; }
h1, .entry-content h1 { font-family: "Titillium Web", Helvetica, Arial, sans-serif; font-weight: 600; font-size: 25px; line-height: 40px; }
h2, .entry-content h2 { font-family: "Open Sans", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 20px; line-height: 25px; }
h3, .entry-content h3 { font-family: "Open Sans", Helvetica, Arial, sans-serif; font-weight: 600; font-size: 16px; line-height: 34px; }
h4, .entry-content h4 { font-family: "Titillium Web", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 20px; line-height: 30px; }
h5, .entry-content h5 { font-family: "Titillium Web", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 16px; line-height: 26px; }
h6, .entry-content h6 { font-family: "Titillium Web", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 14px; line-height: 24px; }
@media (max-width: 1024px) {
	h1, .entry-content h1 { font-size: 34px; }
}

/* Przyciski (The7: Roboto 700, radius 5px, #008dce -> hover #444) */
.ast-button, .button, button[type="submit"], input[type="submit"], .wpcf7-submit,
.elementor-button {
	font-family: "Roboto", Helvetica, Arial, sans-serif;
	font-weight: 700;
	border-radius: 5px;
}
.ast-button, .button, button[type="submit"], input[type="submit"], .wpcf7-submit {
	background-color: var(--tacho-accent);
	border: 0;
	color: #fff;
	font-size: 14px;
	padding: 12px 18px;
}
.ast-button:hover, .button:hover, button[type="submit"]:hover, input[type="submit"]:hover, .wpcf7-submit:hover {
	background-color: var(--tacho-accent-hover);
	color: #fff;
}

/* ===== Nagłówek ===== */
.tacho-hdr { display: flex; align-items: center; gap: 22px; }
.tacho-hdr a { text-decoration: none; }
.tacho-hdr__phone { display: inline-flex; align-items: center; gap: 6px; color: #888; font-size: 14px; }
.tacho-hdr__phone:hover { color: var(--tacho-accent); }
.tacho-hdr__cta.ast-button { display: inline-block; line-height: 1.2; }
.tacho-hdr__lang { display: inline-flex; line-height: 0; }
.tacho-hdr__lang img { display: block; }
@media (max-width: 767px) {
	.tacho-hdr { gap: 12px; }
	.tacho-hdr__phone { font-size: 0; gap: 0; }      /* na telefonie sama ikona */
	.tacho-hdr__phone svg { width: 20px; height: 20px; }
	.tacho-hdr__cta.ast-button { padding: 8px 12px; font-size: 12px; }
}

/* ===== Stopka ===== */
.site-footer .site-primary-footer-wrap { background-color: var(--tacho-footer-bg); }
.site-footer, .site-footer p, .site-footer .widget, .site-footer .textwidget { color: #fff; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; }
.site-footer .widget-title, .site-footer h2, .site-footer h3 { color: #eee; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 20px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--tacho-accent); }
.site-footer .widget_nav_menu ul { list-style: none; margin: 0; }
