/*
 * Footer on phones (every page). Brand and button share a row, the two link lists sit side by side,
 * the newsletter becomes one compact card with the email and button on a single line, and the
 * legal line is centred. Inside a max-width query: desktop and tablet are untouched.
 */
@media (max-width: 767px) {
	.elementor-element-516a6c27 > .e-con-inner {
		display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 0; align-items: start;
	}

	/* Brand: logo left, "Discover More" right, one-line description underneath */
	.elementor-element-4bff3bbe {
		grid-column: 1 / -1; display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 14px 12px;
		padding: 44px 0 26px !important; border-bottom: 1px solid rgba(255, 255, 255, .1);
	}
	.elementor-element-4bff3bbe .elementor-element-7c678f63 { grid-column: 1; grid-row: 1; width: auto !important; }
	.elementor-element-4bff3bbe .elementor-element-7ccf5f0 { grid-column: 2; grid-row: 1; width: auto !important; margin: 0 !important; }
	.elementor-element-4bff3bbe .elementor-element-232b9e9b { grid-column: 1 / -1; grid-row: 2; width: 100% !important; }
	.elementor-element-232b9e9b > .elementor-widget-container { padding-top: 0 !important; }
	.elementor-element-232b9e9b .desc, .elementor-element-232b9e9b .desc p { font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 !important; opacity: .85; }
	.elementor-element-7ccf5f0 a.rs-btn { padding: 11px 18px !important; font-size: 14px !important; }

	/* Link lists side by side */
	.elementor-element-1520311a, .elementor-element-e78da16 { padding: 28px 0 8px !important; }
	.elementor-element-199cc2df, .elementor-element-78e89bfe { height: auto !important; margin-bottom: 8px; }
	.elementor-element-199cc2df .title, .elementor-element-78e89bfe .title { font-size: 17px !important; line-height: 1.3 !important; }
	.elementor-element-628bd78 a, .elementor-element-253df8cb a { padding: 7px 0 !important; font-size: 14.5px !important; line-height: 1.35 !important; }

	/* Newsletter: one compact card, email and button on one line */
	.elementor-element-90acc8e {
		grid-column: 1 / -1; margin: 22px 0 30px; padding: 22px 18px 18px !important;
		background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
	}
	.elementor-element-72b24e3a { width: 100% !important; margin-bottom: 12px; }
	.elementor-element-72b24e3a .title { font-size: 17px !important; }
	.elementor-element-51780f7c form.wpcf7-form { display: flex !important; gap: 8px; align-items: stretch; flex-wrap: nowrap; }
	.elementor-element-51780f7c form.wpcf7-form > p { margin: 0 !important; flex: 1 1 auto; min-width: 0; }
	.elementor-element-51780f7c form.wpcf7-form .form-btn-area { flex: 0 0 auto; }
	.elementor-element-51780f7c form.wpcf7-form .form-btn-area p { margin: 0 !important; }
	.elementor-element-51780f7c input[type="email"] { width: 100% !important; height: 48px !important; padding: 0 14px !important; font-size: 14.5px !important; }
	.elementor-element-51780f7c input[type="submit"] { height: 48px !important; padding: 0 14px !important; font-size: 13px !important; white-space: nowrap; width: auto !important; }
	.elementor-element-51780f7c .wpcf7-spinner { display: none; }
	.elementor-element-51780f7c .wpcf7-not-valid-tip, .elementor-element-51780f7c .wpcf7-response-output { font-size: 13px; margin: 8px 0 0 !important; }
	.elementor-element-1b2c639 { margin-top: 14px; }

	/* Legal line: centred, smaller */
	.elementor-element-279549b7 > .e-con-inner { padding: 18px 0 26px !important; gap: 4px; text-align: center; }
	.elementor-element-3aa960df, .elementor-element-30e9af96 { justify-content: center !important; padding-top: 0 !important; }
	.elementor-element-527523ac .hfe-copyright-wrapper, .elementor-element-527523ac span { font-size: 13px !important; text-align: center !important; }
	.elementor-element-30e9af96 ul { justify-content: center !important; }
	.elementor-element-30e9af96 a { font-size: 13px !important; }
	.elementor-element-540887de { background-position: center top; }

	/* No empty band under the newsletter form (CF7 reserves room for a message that is not there) */
	.elementor-element-51780f7c, .elementor-element-51780f7c > .elementor-widget-container { height: auto !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
	.elementor-element-51780f7c .wpcf7, .elementor-element-51780f7c form.wpcf7-form { margin: 0 !important; }
	.elementor-element-51780f7c .wpcf7 form.init .wpcf7-response-output, .elementor-element-51780f7c .wpcf7-response-output:empty { display: none !important; }
	.elementor-element-51780f7c .wpcf7-form-control-wrap { display: block; }
	.elementor-element-1b2c639 { margin-top: 14px !important; }
	.elementor-element-1b2c639 .rs-social-menu { height: auto !important; min-height: 0 !important; }
	.elementor-element-90acc8e { padding-bottom: 18px !important; }

	/* Technologies / Appointment links centred under the copyright */
	.elementor-element-30e9af96 .hfe-nav-menu, .elementor-element-30e9af96 nav, .elementor-element-30e9af96 ul { justify-content: center !important; text-align: center; width: 100%; }
	.elementor-element-30e9af96 .elementor-widget, .elementor-element-5b8c8340 { width: 100% !important; }
}
