/* Pragati Yacht – rediseño 2026 */

:root {
	--py-blue: #1f3f94;
	--py-navy: #092738;
	--py-green: #067a12;
	--py-green-dark: #04590c;
	--py-focus: #0084cc;
}

/* ---------- Header: marca ---------- */

.whb-general-header .site-logo {
	flex-shrink: 0;
}

.whb-general-header .site-logo img {
	width: 68px;
	max-width: none;
	height: 68px;
	max-height: none;
	object-fit: contain;
}

.whb-general-header .wd-header-nav .wd-nav {
	flex-wrap: nowrap;
}

.whb-general-header .wd-header-nav .wd-nav > li > a {
	font-size: 13px;
	white-space: nowrap;
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.whb-general-header .wd-header-nav .wd-nav > li > a {
		font-size: 11.5px;
	}

	.whb-general-header .pragati-wordmark {
		font-size: 16px;
	}

	.whb-general-header .pragati-cta {
		padding: 0 12px;
		font-size: 12px;
	}
}

.pragati-wordmark {
	display: inline-block;
	margin-left: 4px;
	color: var(--py-blue);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.pragati-wordmark:hover,
.pragati-wordmark:focus {
	color: var(--py-blue);
}

/* ---------- Header: teléfono ---------- */

.whb-top-bar .wd-header-text h5,
.whb-top-bar .wd-header-text h6 {
	margin: 0;
	color: #fff;
}

.whb-top-bar .wd-header-text a[href^="tel:"] {
	color: #fff;
	white-space: nowrap;
}

.whb-top-bar .wd-header-text a[href^="tel:"]:hover,
.whb-top-bar .wd-header-text a[href^="tel:"]:focus-visible {
	text-decoration: underline;
}

/* ---------- CTA Request a Quote ---------- */

.pragati-cta,
.wd-nav > li.pragati-cta-item > a,
.wd-nav-mobile > li.pragati-cta-item > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border: 2px solid var(--py-green);
	border-radius: 6px;
	background-color: var(--py-green);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pragati-cta:hover,
.wd-nav > li.pragati-cta-item > a:hover,
.wd-nav-mobile > li.pragati-cta-item > a:hover {
	border-color: var(--py-green-dark);
	background-color: var(--py-green-dark);
	color: #fff;
	box-shadow: 0 6px 16px rgba(4, 89, 12, 0.28);
}

.pragati-cta:focus-visible,
.wd-nav > li.pragati-cta-item > a:focus-visible,
.wd-nav-mobile > li.pragati-cta-item > a:focus-visible {
	outline: 3px solid var(--py-focus);
	outline-offset: 2px;
	color: #fff;
}

.pragati-header-cta {
	margin-left: 12px;
}

.whb-header-bottom .pragati-header-cta-mobile {
	width: 100%;
	margin: 0;
}

.whb-header-bottom .pragati-header-cta-mobile .pragati-cta {
	width: 100%;
	min-height: 40px;
}

.wd-nav-mobile > li.pragati-cta-item {
	padding: 14px 20px;
	border-bottom: 0;
}

.wd-nav-mobile > li.pragati-cta-item > a {
	width: 100%;
}

@media (max-width: 1024px) {
	.pragati-wordmark {
		font-size: 18px;
	}
}

@media (max-width: 380px) {
	.pragati-wordmark {
		font-size: 15px;
		letter-spacing: 0.04em;
	}
}

/* ---------- Home: hero Sonihull GO ---------- */

.py-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--py-navy);
}

.py-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 24, 36, 0.9) 0%, rgba(5, 24, 36, 0.72) 34%, rgba(5, 24, 36, 0.2) 62%, rgba(5, 24, 36, 0) 100%);
	pointer-events: none;
}

.py-hero > .elementor-container {
	position: relative;
	z-index: 1;
	align-items: center;
	min-height: clamp(520px, 76vh, 760px);
	/* La sección va a sangre; el contenido se alinea con el contenedor del sitio (1222px). */
	padding: 72px max(20px, calc((100vw - 1192px) / 2));
}

.py-hero .elementor-widget-wrap {
	align-content: center;
	max-width: 600px;
	gap: 0 14px;
}

.py-hero .py-hero__title .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-family: Montserrat, "Nunito Sans", sans-serif;
	font-size: clamp(34px, 4.4vw, 62px);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.06;
}

.py-hero .py-hero__title .elementor-heading-title span {
	display: block;
	color: #62b02f; /* Sonihull GO Green (Brand Guidelines 2026-09) */
}

.py-hero .py-hero__text {
	margin: 22px 0 30px;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.65;
}

.py-hero .py-hero__text p {
	margin: 0;
}

.py-hero .py-hero__btn .elementor-button {
	min-height: 50px;
	padding: 0 28px;
	border: 2px solid var(--py-green);
	border-radius: 6px;
	background-color: var(--py-green);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 46px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.py-hero .py-hero__btn--primary .elementor-button:hover,
.py-hero .py-hero__btn--primary .elementor-button:focus-visible {
	border-color: var(--py-green-dark);
	background-color: var(--py-green-dark);
	color: #fff;
}

.py-hero .py-hero__btn--ghost .elementor-button {
	border-color: rgba(255, 255, 255, 0.85);
	background-color: transparent;
}

.py-hero .py-hero__btn--ghost .elementor-button:hover,
.py-hero .py-hero__btn--ghost .elementor-button:focus-visible {
	background-color: #fff;
	color: var(--py-navy);
}

.py-hero .py-hero__btn .elementor-button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.py-hero::before {
		background: linear-gradient(180deg, rgba(5, 24, 36, 0.55) 0%, rgba(5, 24, 36, 0.78) 45%, rgba(5, 24, 36, 0.92) 100%);
	}

	.py-hero > .elementor-container {
		align-items: flex-end;
		min-height: 560px;
		padding: 56px 20px 44px;
	}

	.py-hero .py-hero__text {
		margin: 16px 0 24px;
	}

	.py-hero .py-hero__btn,
	.py-hero .py-hero__btn .elementor-button {
		width: 100%;
	}

	.py-hero .py-hero__btn + .py-hero__btn {
		margin-top: 12px;
	}
}

/* ---------- Home: bloque "Pragati Yacht" ---------- */

.py-intro > .elementor-container {
	padding: 72px 20px;
}

.py-intro .elementor-widget-wrap {
	max-width: 860px;
	margin-inline: auto;
}

@media (max-width: 767px) {
	.py-intro > .elementor-container {
		padding: 44px 20px;
	}
}

/* ---------- Carrusel de marcas ---------- */

.py-brands .elementor-widget-wrap {
	max-width: 1100px;
	margin-inline: auto;
}

.py-brands .elementor-image-carousel .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
}

.py-brands .elementor-image-carousel .swiper-slide img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 150px;
	object-fit: contain;
}

/* ---------- Barra inferior móvil: Call / Quote ---------- */

.wd-toolbar .wd-toolbar-link-1 .wd-tools-icon::before,
.wd-toolbar .wd-toolbar-link-2 .wd-tools-icon::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: var(--py-toolbar-icon) center / contain no-repeat;
	mask: var(--py-toolbar-icon) center / contain no-repeat;
}

.wd-toolbar .wd-toolbar-link-1 {
	--py-toolbar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
}

.wd-toolbar .wd-toolbar-link-2 {
	--py-toolbar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 9H13zM8 13h8v1.5H8zm0 3.5h8V18H8zM8 9.5h3V11H8z'/%3E%3C/svg%3E");
}

.wd-toolbar .wd-toolbar-link-2 a {
	color: var(--py-green);
	font-weight: 700;
}

/* ---------- Producto: venta por cotización ---------- */

.pragati-product-quote {
	margin: 18px 0 22px;
}

.pragati-product-quote .pragati-cta {
	min-height: 50px;
	padding: 0 30px;
	font-size: 15px;
}

.pragati-product-quote__note {
	margin: 12px 0 0;
	font-size: 14px;
}

.pragati-product-quote__note a {
	font-weight: 700;
	white-space: nowrap;
}

.pragati-quote-mode .product-grid-item .pragati-loop-quote {
	width: 100%;
}

/* ---------- Botones flotantes: que no tapen la barra inferior móvil ---------- */

@media (max-width: 1024px) {
	.wptwa-container .wptwa-toggle {
		bottom: 70px !important;
	}

	.wptwa-container .wptwa-box {
		bottom: 140px !important;
	}
}

/* ---------- Footer: varias páginas terminan con una sección de margen negativo (-40px)
   que tapaba el título de la franja verde ---------- */

footer.wd-footer,
footer.footer-container {
	position: relative;
	z-index: 2;
}

/* ---------- Success Stories: sin línea de categorías en las tarjetas.
   Los 16 casos llevan las mismas tres ("Ecoworks, Services, Sonihull Eco"); el tema la
   imprime sin opción para apagarla (content-portfolio.php), así que se oculta aquí. ---------- */

.wd-project .portfolio-info .wrap-meta {
	display: none;
}
