/*
Theme Name: Advice Child Theme
Theme URI: https://advice.ancorathemes.com/
Description: Advice is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.21.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: advisor, appointment, online booking, counseling therapy, health, psychologist, psychology, therapy, psychology counseling, psychology theme, life coach, therapist, business
Text Domain: advice
Template: advice
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* ==========================================================================
   ANTONIO BACA PSICÓLOGO — marca
   Azul del logo  #1B7FAD (principal)   · azul oscuro #145E80 (hover / textos)
   Turquesa       #2596BE (detalles)     · púrpura #7639BD (SOLO botón de cita)
   ========================================================================== */

:root {
	--ab-blue: #1B7FAD;
	--ab-blue-dark: #145E80;
	--ab-blue-deep: #0F4C69;
	--ab-turquoise: #2596BE;
	--ab-purple: #7639BD;
	--ab-purple-dark: #5E2B9A;
	--ab-cream: #F3F8FB;
}

/* Esquemas del tema (creamy_*): fondo BLANCO, acentos azul de marca y texto gris frío (legibilidad AA) */
.scheme_creamy_default, body.scheme_creamy_default, .scheme_creamy_default:where(.editor-styles-wrapper),
.scheme_creamy_light, body.scheme_creamy_light, .scheme_creamy_light:where(.editor-styles-wrapper) {
	--theme-color-bg_color: #FFFFFF;
	--theme-color-bg_color_0: rgba(255,255,255,0);
	--theme-color-bg_color_02: rgba(255,255,255,0.2);
	--theme-color-bg_color_07: rgba(255,255,255,0.7);
	--theme-color-bg_color_08: rgba(255,255,255,0.8);
	--theme-color-bg_color_09: rgba(255,255,255,0.9);
	--theme-color-bd_color: #E1E8EE;
	--theme-color-alter_bg_color: #F3F8FB;
	--theme-color-alter_bg_hover: #EAF3F8;
	--theme-color-alter_bd_color: #E1E8EE;
	--theme-color-alter_bd_hover: #C9D5DE;
	--theme-color-alter_bg_color_07: rgba(243,248,251,0.7);
	--theme-color-alter_bg_color_04: rgba(243,248,251,0.4);
	--theme-color-alter_bg_color_00: rgba(243,248,251,0);
	--theme-color-alter_bg_color_02: rgba(243,248,251,0.2);
	--theme-color-alter_bd_color_02: rgba(225,232,238,0.2);
	--theme-color-input_bd_color: #D3DDE5;
	--theme-color-input_bd_hover: #B7C6D2;
	--theme-color-text: #4F5B66;
	--theme-color-text_light: #66727D;
	--theme-color-text_dark: #18222C;
	--theme-color-text_dark_blend: #22303C;
	--theme-color-text_dark_003: rgba(24,34,44,0.03);
	--theme-color-text_dark_005: rgba(24,34,44,0.05);
	--theme-color-text_dark_008: rgba(24,34,44,0.08);
	--theme-color-text_dark_015: rgba(24,34,44,0.15);
	--theme-color-text_dark_02: rgba(24,34,44,0.2);
	--theme-color-text_dark_03: rgba(24,34,44,0.3);
	--theme-color-text_dark_05: rgba(24,34,44,0.5);
	--theme-color-text_dark_07: rgba(24,34,44,0.7);
	--theme-color-text_dark_08: rgba(24,34,44,0.8);
	--theme-color-alter_text: #4F5B66;
	--theme-color-alter_light: #66727D;
	--theme-color-alter_dark: #18222C;
	--theme-color-input_text: #4F5B66;
	--theme-color-input_dark: #18222C;
	--theme-color-text_link: #1B7FAD;
	--theme-color-text_hover: #145E80;
	--theme-color-text_link2: #0F4C69;
	--theme-color-text_hover2: #0B3A50;
	--theme-color-alter_link: #1B7FAD;
	--theme-color-alter_hover: #145E80;
	--theme-color-alter_link2: #0F4C69;
	--theme-color-alter_hover2: #0B3A50;
	--theme-color-extra_link: #2596BE;
	--theme-color-text_link_007: rgba(27,127,173,0.07);
	--theme-color-text_link_02: rgba(27,127,173,0.2);
	--theme-color-text_link_03: rgba(27,127,173,0.3);
	--theme-color-text_link_04: rgba(27,127,173,0.4);
	--theme-color-text_link_07: rgba(27,127,173,0.7);
	--theme-color-alter_link_02: rgba(27,127,173,0.2);
	--theme-color-alter_link_07: rgba(27,127,173,0.7);
	--theme-color-extra_link_02: rgba(37,150,190,0.2);
	--theme-color-extra_link_07: rgba(37,150,190,0.7);
	--theme-color-text_link2_08: rgba(15,76,105,0.8);
	--theme-color-text_link2_007: rgba(15,76,105,0.07);
	--theme-color-text_link2_02: rgba(15,76,105,0.2);
	--theme-color-text_link2_03: rgba(15,76,105,0.3);
	--theme-color-text_link2_05: rgba(15,76,105,0.5);
	--theme-color-text_link_blend: #2596BE;
	--theme-color-alter_link_blend: #2596BE;
}
body, .page_wrap, .body_wrap { background-color: #FFFFFF; }
.scheme_dark, .scheme_creamy_dark {
	--theme-color-extra_link: #2596BE;
	--theme-color-text_link: #2596BE;
}

/* Enlaces dentro de textos: azul oscuro para que se lean bien */
.elementor-widget-text-editor a:not(.sc_button),
.sc_item_descr a,
.elementor-tab-content a {
	color: var(--ab-blue-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.elementor-widget-text-editor a:not(.sc_button):hover,
.sc_item_descr a:hover,
.elementor-tab-content a:hover { color: var(--ab-blue-deep); }

/* ---------- Botón principal de conversión (único elemento púrpura) ---------- */
.sc_button.ab-cta,
.sc_button.ab-cta:not(.sc_button_simple):not(.sc_button_bordered) {
	background-color: var(--ab-purple) !important;
	border-color: var(--ab-purple) !important;
	color: #FFFFFF !important;
}
.sc_button.ab-cta:hover,
.sc_button.ab-cta:focus {
	background-color: var(--ab-purple-dark) !important;
	border-color: var(--ab-purple-dark) !important;
	color: #FFFFFF !important;
}
.sc_button.ab-cta .sc_button_title,
.sc_button.ab-cta .sc_button_text,
.sc_button.ab-cta .sc_button_icon { color: #FFFFFF !important; }

/* Botón secundario de WhatsApp (contorno azul) */
.sc_button.ab-wa {
	background-color: transparent !important;
	border: 2px solid var(--ab-blue) !important;
	color: var(--ab-blue-dark) !important;
}
.sc_button.ab-wa:hover, .sc_button.ab-wa:focus {
	background-color: var(--ab-blue) !important;
	color: #FFFFFF !important;
}
.sc_button.ab-wa:hover .sc_button_title { color: #FFFFFF !important; }
.sc_button.ab-wa .sc_button_title { color: inherit !important; }
.sc_button.ab-wa::before {
	content: "\f232";
	font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands", "FontAwesome";
	font-weight: 400;
	margin-right: 8px;
}

/* Espacio entre botones cuando van en línea */
.ab-buttons .sc_button_multiple { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.ab-buttons .sc_button_multiple.sc_align_center { justify-content: center; }
.ab-buttons .sc_button_multiple.sc_align_right { justify-content: flex-end; }
.ab-buttons .sc_button_multiple .sc_button { margin: 0 !important; }

/* ---------- Portada y cabeceras de página ---------- */
.ab-hero .sc_item_title { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.08; }
.ab-hero .sc_item_descr { max-width: 36em; font-size: 1.12rem; }
.ab-hero-text { position: relative; z-index: 1; }
.ab-page-hero .sc_item_title { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.1; }
.ab-page-hero .sc_item_descr { max-width: 38em; font-size: 1.08rem; }

/* Títulos: nunca partir palabras con guion (el tema lo activa en móvil: "psicó-logo") */
h1, h2, h3, h4, h5, h6, .sc_item_title, .sc_item_subtitle {
	-webkit-hyphens: manual !important;
	-ms-hyphens: manual !important;
	hyphens: manual !important;
	word-break: normal;
	overflow-wrap: normal;
}

/* Línea de confianza (valoración de Google) */
.ab-trust { font-size: 0.95rem; color: var(--theme-color-text); margin-top: 16px; }
.ab-header-phone { margin: 0; white-space: nowrap; }
.ab-header-phone a { text-decoration: none !important; color: var(--theme-color-text_dark) !important; font-weight: 500; }
.ab-header-phone a span { color: var(--ab-blue); margin-right: 6px; }
.ab-header-phone a:hover { color: var(--ab-blue-dark) !important; }
.ab-footer-horario { margin-top: 0.6em; color: #6f7898; line-height: 1.75; }
.ab-footer-legal a { color: #6f7898 !important; text-decoration: none !important; }
.ab-footer-legal a:hover { color: #FFFFFF !important; }
.ab-trust p { margin: 0; }
.ab-trust a { text-decoration: none !important; color: var(--theme-color-text_dark) !important; }
.ab-trust .ab-stars { color: #E7A400; letter-spacing: 2px; margin-right: 6px; }

/* ---------- Foto de Antonio ---------- */
.ab-photo img {
	border-radius: 220px 220px 24px 24px;
	box-shadow: 0 30px 60px -30px rgba(24, 34, 44, 0.35);
	width: 100%;
	max-width: 460px;
	height: auto;
	object-fit: cover;
}

/* ---------- Tarjetas y listas ---------- */
.ab-card > .elementor-widget-container,
.ab-card > .elementor-column-wrap,
.elementor-column.ab-card > .elementor-widget-wrap {
	background: var(--ab-cream);
	border-radius: 18px;
}
.elementor-column.ab-card > .elementor-widget-wrap { margin: 0 10px; }
.elementor-column.ab-card > .elementor-widget-wrap { padding: 40px 44px !important; }
.ab-list ul { list-style: none; margin: 0; padding: 0; }
.ab-list ul li {
	position: relative;
	padding: 0 0 0 36px;
	margin: 0 0 14px;
	line-height: 1.6;
}
.ab-list ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ab-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ab-list.ab-two-cols ul { columns: 2; column-gap: 48px; }
.ab-list.ab-two-cols ul li { break-inside: avoid; }

.ab-note > .elementor-widget-container {
	border-left: 4px solid var(--ab-blue);
	background: rgba(27, 127, 173, 0.07);
	padding: 18px 22px;
	border-radius: 0 12px 12px 0;
	font-size: 0.95rem;
}
.ab-note p { margin: 0; }

.ab-contact-list p { margin: 0 0 18px; line-height: 1.55; display: flex; gap: 12px; align-items: flex-start; }
.ab-contact-list .ab-c { min-width: 0; overflow-wrap: anywhere; }
.ab-contact-list strong { display: block; color: var(--theme-color-text_dark); font-weight: 600; }
.ab-contact-list a { text-decoration: none !important; }
.ab-contact-list .ab-ico { color: var(--ab-blue); width: 22px; flex-shrink: 0; text-align: center; font-size: 1.1rem; padding-top: 3px; }

/* Iconos de servicios: tarjetas del mismo alto */
.ab-services .sc_icons_item { height: 100%; }
.ab-services .sc_icons_item_description { min-height: 3.2em; }

/* ---------- Formulario de contacto ---------- */
.ab-form .ab-field { margin-bottom: 16px; }
.ab-form .ab-field p { margin: 0; }
.ab-form .ab-field input, .ab-form .ab-field select, .ab-form .ab-field textarea { margin-bottom: 0 !important; }
.ab-form label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--theme-color-text_dark); }
.ab-form input[type="text"], .ab-form input[type="tel"], .ab-form input[type="email"], .ab-form select, .ab-form textarea {
	width: 100%;
	border: 1px solid #D3DDE5;
	border-radius: 10px;
	background: #FFFFFF;
	padding: 14px 16px;
	font-size: 1rem;
	color: #18222C;
}
.ab-form textarea { min-height: 110px; }
.ab-form input:focus, .ab-form select:focus, .ab-form textarea:focus { border-color: var(--ab-blue); outline: 2px solid rgba(27,127,173,.25); }
.ab-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.ab-form .wpcf7-acceptance label { font-weight: 400; font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.ab-form .wpcf7-submit-style { display: block; width: 100%; }
.ab-form .wpcf7-submit-style .wpcf7-submit { width: 100%; }
.ab-form .wpcf7-submit-style .submit-style-in { background-color: var(--ab-purple) !important; color: #FFFFFF !important; border-radius: 10px; }
.ab-form .wpcf7-submit-style:hover .wpcf7-submit + .submit-style-in,
.ab-form .wpcf7-submit-style:focus .wpcf7-submit + .submit-style-in { background-color: var(--ab-purple-dark) !important; }
.ab-form .wpcf7-submit-style .wpcf7-submit[disabled] + .submit-style-in { background-color: #A9A397 !important; }
.ab-form textarea { height: 96px !important; min-height: 0 !important; }
.ab-form .ab-rgpd { font-size: 0.78rem; line-height: 1.5; color: #66727D; margin-top: 14px; }
.ab-form .ab-rgpd a { color: var(--ab-blue-dark); }

/* ---------- Barra fija de contacto en móvil ---------- */
.ab-mobile-bar { display: none; }
@media (max-width: 767px) {
	.ab-mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr 1.25fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9999;
		background: #FFFFFF;
		box-shadow: 0 -6px 20px rgba(24, 34, 44, 0.12);
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
	}
	.ab-mobile-bar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 50px;
		border-radius: 10px;
		font-size: 0.8rem;
		font-weight: 600;
		text-decoration: none !important;
		color: var(--ab-blue-dark) !important;
		background: rgba(27, 127, 173, 0.08);
	}
	.ab-mobile-bar a span { font-size: 1.1rem; }
	.ab-mobile-bar a.ab-mb-cita { background: var(--ab-purple); color: #FFFFFF !important; }
	body { padding-bottom: 72px; }
	.trx_addons_scroll_to_top { bottom: 84px !important; }

	.ab-list.ab-two-cols ul { columns: 1; }
	.ab-services .sc_icons_item { padding: 22px 10px !important; }
	.ab-services .sc_icons_item_title { font-size: 1.15rem !important; line-height: 1.25 !important; }
	.ab-services .sc_icons_item_description { font-size: 0.85rem !important; line-height: 1.4 !important; min-height: 0; }
	.ab-services .trx_addons_columns_wrap > [class*="trx_addons_column-"] { width: 50% !important; }
	.ab-services .trx_addons_columns_wrap { margin-right: -10px !important; }
	.ab-services .trx_addons_columns_wrap > [class*="trx_addons_column-"] { padding-right: 10px !important; padding-bottom: 10px !important; }
	.ab-buttons .sc_button_multiple.sc_align_right { justify-content: flex-start; }
	.ab-buttons .sc_button_multiple .sc_button { flex: 1 1 100%; text-align: center; }
	.elementor-column.ab-card > .elementor-widget-wrap { padding: 28px 24px !important; }
}

/* ---------- Banda de cita con formulario (#cita) ---------- */
#cita { scroll-margin-top: 90px; }
.ab-form-band .ab-form-card > .elementor-widget-container { box-shadow: 0 24px 60px -30px rgba(24, 34, 44, 0.28); }
.ab-form-band .ab-band-text .sc_item_descr { font-size: 1.05rem; }
.ab-list.ab-list-sm ul li { margin-bottom: 10px; font-size: 0.97rem; }
.ab-list.ab-list-sm ul li::before { width: 18px; height: 18px; background-size: 11px; }
.ab-band-alt p { margin: 14px 0 0; font-size: 0.95rem; }


/* ---------- Pilares ACT (portada) ---------- */
.ab-act .ab-act-title .sc_item_title { font-size: 1.45rem; margin-top: 10px; }
.ab-act .ab-act-descr p { font-size: 0.95rem; line-height: 1.5; margin: 6px auto 0; max-width: 16em; }
@media (max-width: 767px) {
	.ab-act .ab-act-item { margin-bottom: 26px; }
	.ab-act .ab-act-title .sc_item_title { font-size: 1.2rem; }
	.ab-act .ab-act-descr p { font-size: 0.85rem; }
}

/* ---------- Reseñas de Google: carrusel (sin salir de la web) ---------- */
.ab-reviews-carousel { position: relative; text-align: left; }
.ab-rc-track {
	position: relative;
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 4px 2px 8px;
	align-items: flex-start;
}
.ab-rc-track::-webkit-scrollbar { display: none; }
.ab-rc-card {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
	margin: 0;
	background: var(--ab-cream);
	border-radius: 18px;
	padding: 32px 30px 28px;
	display: flex;
	flex-direction: column;
	min-height: 25.5rem;
}
.ab-rc-stars { color: #E7A400; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.ab-rc-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	overflow: hidden;
}
.ab-rc-text p { font-size: 1rem; line-height: 1.65; color: var(--theme-color-text); margin: 0 0 10px; }
.ab-rc-text p:last-child { margin-bottom: 0; }
.ab-rc-card.is-open .ab-rc-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.ab-rc-more {
	align-self: flex-start;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	margin-top: 8px;
	color: var(--ab-blue-dark) !important;
	font-size: 0.92rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	box-shadow: none !important;
}
.ab-rc-card, .ab-rc-card * { text-align: left; }
.ab-rc-author { margin-top: auto; padding-top: 18px; }
.ab-rc-author strong { display: block; color: var(--theme-color-text_dark); font-weight: 600; }
.ab-rc-author span { font-size: 0.88rem; color: var(--theme-color-text_light); }
.ab-rc-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.ab-rc-prev, .ab-rc-next {
	width: 44px; height: 44px;
	border-radius: 50% !important;
	border: 1px solid #C9D5DE !important;
	background: #FFFFFF !important;
	color: var(--ab-blue-dark) !important;
	font-size: 1.6rem; line-height: 1;
	padding: 0 !important;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	box-shadow: none !important;
}
.ab-rc-prev:hover:not([disabled]), .ab-rc-next:hover:not([disabled]) { border-color: var(--ab-blue) !important; background: var(--ab-blue) !important; color: #FFFFFF !important; }
.ab-rc-prev[disabled], .ab-rc-next[disabled] { opacity: 0.35; cursor: default; }
.ab-rc-dots { display: flex; gap: 8px; }
.ab-rc-dots button {
	width: 9px; height: 9px; min-width: 0;
	border-radius: 50% !important;
	padding: 0 !important;
	border: 0 !important;
	background: #C9D5DE !important;
	cursor: pointer;
	box-shadow: none !important;
}
.ab-rc-dots button.is-active { background: var(--ab-blue) !important; }
@media (max-width: 1023px) { .ab-rc-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 767px) {
	.ab-rc-track { gap: 14px; }
	.ab-rc-card { flex-basis: 86%; padding: 26px 22px 22px; }
	.ab-rc-prev, .ab-rc-next { width: 40px; height: 40px; }
}

/* Separación entre un texto y el botón que va debajo (p. ej. "Conóceme") */
.elementor-widget-text-editor + .elementor-widget-trx_sc_button { margin-top: 25px; }

/* ---------- Teléfono en ordenador y tablet: se muestra el número, sin enlace ---------- */
.ab-tel-static { color: inherit; cursor: text; }
.ab-header-phone .ab-tel-static { color: var(--theme-color-text_dark); font-weight: 500; }
.ab-header-phone .ab-tel-static span { color: var(--ab-blue); margin-right: 6px; }
html.ab-no-tel .ab-mobile-bar .ab-mb-call { display: none; }
html.ab-no-tel .ab-mobile-bar { grid-template-columns: 1fr 1.25fr; }

/* ---------- Móvil: cabecera más directa ---------- */
@media (max-width: 767px) {
	.ab-hero .sc_item_title { font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1.12; }
	.ab-page-hero .sc_item_title { font-size: clamp(1.85rem, 8vw, 2.3rem); line-height: 1.15; }
	.ab-hero .sc_item_descr, .ab-page-hero .sc_item_descr { font-size: 1rem; }
	.ab-hero-img-col, .ab-hero-img { display: none !important; }
	.ab-trust { margin: 20px 0 8px; }
	.ab-form-band .ab-buttons .sc_button { width: 100%; text-align: center; }
	#cita { scroll-margin-top: 70px; }
	.ab-form-band .ab-band-text { margin-bottom: 26px; }
	.ab-review { margin-bottom: 14px; }
}

/* ---------- Reserva online (Google Calendar) ---------- */
.ab-booking iframe { width: 100%; min-height: 720px; border: 0; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E8EE; }
@media (max-width: 767px) { .ab-booking iframe { min-height: 900px; } }

/* Desplazamiento suave al pulsar "Pide cita" (#cita) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


/* ---------- Chat de WhatsApp (tipo Chaty, sin plugin) ---------- */
.ab-wachat-fab { display: none; }
.ab-wachat .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ab-wachat-backdrop { position: fixed; inset: 0; background: rgba(24, 34, 44, 0.35); z-index: 10000; }
.ab-wachat-backdrop[hidden], .ab-wachat-panel[hidden] { display: none !important; }
.ab-wachat-panel {
	position: fixed;
	z-index: 10001;
	right: 24px;
	bottom: 96px;
	width: 360px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 120px);
	background: #EFEAE2;
	border-radius: 16px;
	box-shadow: 0 24px 60px -20px rgba(24, 34, 44, 0.45);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	outline: none;
	text-align: left;
}
.ab-wachat-head { background: #075E54; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; }
.ab-wachat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ab-wachat-title { margin: 0 !important; color: #FFFFFF !important; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.ab-wachat-sub { margin: 0 !important; color: rgba(255, 255, 255, 0.85) !important; font-size: 0.8rem; line-height: 1.3; }
.ab-wachat-close {
	margin-left: auto;
	background: none !important; border: 0 !important; box-shadow: none !important;
	color: #FFFFFF !important; font-size: 1.7rem; line-height: 1;
	padding: 4px 8px !important; min-width: 0; cursor: pointer;
}
.ab-wachat-body { padding: 18px 16px 10px; overflow-y: auto; }
.ab-wachat-bubble {
	margin: 0 !important;
	background: #FFFFFF; color: #18222C;
	border-radius: 0 12px 12px 12px;
	padding: 10px 12px; max-width: 90%; width: fit-content;
	font-size: 0.95rem; line-height: 1.45;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.ab-wachat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ab-wachat-chips button {
	background: #FFFFFF !important; border: 1px solid #CFE3DC !important; box-shadow: none !important;
	color: #075E54 !important; border-radius: 999px !important;
	padding: 7px 12px !important; font-size: 0.85rem; line-height: 1.2; font-weight: 500;
	text-transform: none; letter-spacing: 0; cursor: pointer;
}
.ab-wachat-chips button:hover, .ab-wachat-chips button:focus-visible { border-color: #25D366 !important; background: #F2FBF5 !important; }
.ab-wachat-form { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px 12px; margin: 0; }
.ab-wachat-form textarea {
	flex: 1; resize: none; min-height: 44px; max-height: 120px;
	border: 0 !important; border-radius: 22px !important; box-shadow: none !important;
	background: #FFFFFF !important; color: #18222C !important;
	padding: 11px 16px !important; margin: 0 !important;
	font-size: 16px; line-height: 1.35;
}
.ab-wachat-form textarea:focus { outline: 2px solid #25D366; outline-offset: 0; }
.ab-wachat-send {
	flex: 0 0 44px; width: 44px !important; height: 44px !important; min-height: 0 !important; max-height: 44px;
	padding: 0 !important; min-width: 0; line-height: 1 !important; align-self: flex-end; margin-bottom: 0 !important;
	border-radius: 50% !important; border: 0 !important; box-shadow: none !important;
	background: #25D366 !important; color: #FFFFFF !important;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ab-wachat-send[disabled] { background: #A9C9BC !important; cursor: default; }
.ab-wachat-note { margin: 0 !important; padding: 2px 16px 12px; font-size: 0.75rem; line-height: 1.4; color: #5B6770; }
@media (min-width: 768px) {
	.ab-wachat-backdrop { display: none !important; }
	.ab-wachat-fab {
		position: fixed; right: 24px; bottom: 24px; z-index: 9990;
		width: 58px !important; height: 58px !important; min-height: 0 !important; padding: 0 !important; min-width: 0; line-height: 1 !important;
		border-radius: 50% !important; border: 0 !important;
		background: #25D366 !important; color: #FFFFFF !important;
		box-shadow: 0 10px 28px -8px rgba(24, 34, 44, 0.45);
		display: flex; align-items: center; justify-content: center; cursor: pointer;
	}
	.ab-wachat-fab:hover { background: #1EBE5A !important; }
	.ab-wachat-fab svg { width: 30px; height: 30px; }
	.trx_addons_scroll_to_top { bottom: 96px !important; }
}
@media (max-width: 767px) {
	.ab-wachat-panel {
		left: 0; right: 0; bottom: 0; width: 100%; max-width: none;
		max-height: 85vh; border-radius: 16px 16px 0 0;
		padding-bottom: env(safe-area-inset-bottom);
	}
}
@media (prefers-reduced-motion: no-preference) {
	.ab-wachat.is-open .ab-wachat-panel { animation: ab-wachat-in 0.18s ease-out; }
	@keyframes ab-wachat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- Tarjetas de servicios: que se vea que son enlaces (también en móvil) ---------- */
.ab-services .sc_icons_item { position: relative; border: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.ab-services .sc_icons_item.sc_icons_item_linked:hover { border-color: #C9D5DE; box-shadow: 0 16px 34px -22px rgba(24, 34, 44, 0.35); transform: translateY(-2px); }
.ab-services .sc_icons_item.sc_icons_item_linked.with_more .sc_icons_item_link { z-index: 3 !important; }
.ab-services .sc_icons_item .sc_icons_item_more_link { margin-top: 14px; color: var(--ab-blue-dark) !important; font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0; }
.ab-services .sc_icons_item .sc_icons_item_more_link .link_text { display: inline-block !important; opacity: 1 !important; visibility: visible !important; text-indent: 0 !important; margin-right: 6px; }
.ab-services .sc_icons_item .sc_icons_item_more_link .link_icon { display: none !important; }
.ab-services .sc_icons_item .sc_icons_item_more_link::after { content: "\2192"; display: inline-block; vertical-align: middle; transition: transform 0.2s; }
.ab-services .sc_icons_item:hover .sc_icons_item_more_link::after { transform: translateX(4px); }
@media (max-width: 767px) {
	.ab-services .sc_icons_item { border-color: #E1E8EE; box-shadow: 0 8px 18px -14px rgba(24, 34, 44, 0.35); }
	.ab-services .sc_icons_item .sc_icons_item_more_link { font-size: 0.85rem; margin-top: 10px; }
}

/* ---------- Botón para dejar reseña en Google ---------- */
.ab-review-invite p { margin: 0 0 14px; color: var(--theme-color-text); }
