/*
Theme Name: Construcciones Reygardo
Theme URI: https://construccionesreygardo.local
Author: Construcciones Reygardo
Author URI: https://construccionesreygardo.local
Description: Theme de bloques (Full Site Editing) para Construcciones Reygardo. Paleta amarillo-negro, logo de marca, portada lista para editar desde el Editor del sitio.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: construcciones-reygardo
Tags: full-site-editing, block-themes, one-column, custom-colors, custom-logo, custom-menu, editor-style, featured-images, wide-blocks
*/

/* Estilos de apoyo. La mayor parte del diseño vive en theme.json y es editable en FSE. */

.reygardo-logo-lockup {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
}

.reygardo-logo-lockup img,
.reygardo-logo-lockup svg {
	display: block;
	height: 56px;
	width: auto;
}

.reygardo-hazard {
	background-image: repeating-linear-gradient(
		-45deg,
		#F5C518 0 14px,
		#111111 14px 28px
	);
	height: 10px;
	width: 100%;
}

.wp-block-button.is-style-whatsapp .wp-block-button__link {
	background-color: #25D366 !important;
	color: #ffffff !important;
}

.wp-block-button.is-style-whatsapp .wp-block-button__link:hover {
	background-color: #1ebe5d !important;
}

.reygardo-phone {
	font-family: Oswald, Impact, sans-serif;
	letter-spacing: 0.02em;
}

a.reygardo-wa-fab {
	position: fixed;
	right: max(22px, env(safe-area-inset-right));
	bottom: max(22px, env(safe-area-inset-bottom));
	z-index: 9999;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
	transition: transform 0.2s ease, background 0.2s ease;
}

a.reygardo-wa-fab:hover {
	transform: scale(1.06);
	background: #1ebe5d;
}

a.reygardo-wa-fab svg {
	width: 32px;
	height: 32px;
	fill: #fff;
}

@media (prefers-reduced-motion: reduce) {
	a.reygardo-wa-fab {
		transition: none;
	}

	a.reygardo-wa-fab:hover {
		transform: none;
	}
}
